// Code generated by protoc-gen-gcraft. DO NOT EDIT.
// source: friends_types.proto

package v1

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	protocol "github.com/superp00t/gophercraft/bnet/bgs/protocol"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// BGSFieldOptions from public import global_extensions/field_options.proto
type BGSFieldOptions = protocol.BGSFieldOptions

// FieldRestriction from public import global_extensions/field_options.proto
type FieldRestriction = protocol.FieldRestriction
type FieldRestriction_Signed = protocol.FieldRestriction_Signed
type FieldRestriction_Unsigned = protocol.FieldRestriction_Unsigned
type FieldRestriction_Float = protocol.FieldRestriction_Float
type FieldRestriction_String_ = protocol.FieldRestriction_String_
type FieldRestriction_Repeated = protocol.FieldRestriction_Repeated
type FieldRestriction_Message = protocol.FieldRestriction_Message
type FieldRestriction_EntityId = protocol.FieldRestriction_EntityId
type FieldRestriction_Bytes = protocol.FieldRestriction_Bytes

// RepeatedFieldRestriction from public import global_extensions/field_options.proto
type RepeatedFieldRestriction = protocol.RepeatedFieldRestriction
type RepeatedFieldRestriction_Signed = protocol.RepeatedFieldRestriction_Signed
type RepeatedFieldRestriction_Unsigned = protocol.RepeatedFieldRestriction_Unsigned
type RepeatedFieldRestriction_Float = protocol.RepeatedFieldRestriction_Float
type RepeatedFieldRestriction_String_ = protocol.RepeatedFieldRestriction_String_
type RepeatedFieldRestriction_EntityId = protocol.RepeatedFieldRestriction_EntityId
type RepeatedFieldRestriction_Bytes = protocol.RepeatedFieldRestriction_Bytes

// SignedFieldRestriction from public import global_extensions/field_options.proto
type SignedFieldRestriction = protocol.SignedFieldRestriction

// UnsignedFieldRestriction from public import global_extensions/field_options.proto
type UnsignedFieldRestriction = protocol.UnsignedFieldRestriction

// FloatFieldRestriction from public import global_extensions/field_options.proto
type FloatFieldRestriction = protocol.FloatFieldRestriction

// StringFieldRestriction from public import global_extensions/field_options.proto
type StringFieldRestriction = protocol.StringFieldRestriction

// EntityIdRestriction from public import global_extensions/field_options.proto
type EntityIdRestriction = protocol.EntityIdRestriction

// MessageFieldRestriction from public import global_extensions/field_options.proto
type MessageFieldRestriction = protocol.MessageFieldRestriction

// LogOption from public import global_extensions/field_options.proto
type LogOption = protocol.LogOption

var LogOption_name = protocol.LogOption_name
var LogOption_value = protocol.LogOption_value

const LogOption_HIDDEN = LogOption(protocol.LogOption_HIDDEN)
const LogOption_HEX = LogOption(protocol.LogOption_HEX)

// EntityIdRestriction_Kind from public import global_extensions/field_options.proto
type EntityIdRestriction_Kind = protocol.EntityIdRestriction_Kind

var EntityIdRestriction_Kind_name = protocol.EntityIdRestriction_Kind_name
var EntityIdRestriction_Kind_value = protocol.EntityIdRestriction_Kind_value

const EntityIdRestriction_ANY = EntityIdRestriction_Kind(protocol.EntityIdRestriction_ANY)
const EntityIdRestriction_ACCOUNT = EntityIdRestriction_Kind(protocol.EntityIdRestriction_ACCOUNT)
const EntityIdRestriction_GAME_ACCOUNT = EntityIdRestriction_Kind(protocol.EntityIdRestriction_GAME_ACCOUNT)
const EntityIdRestriction_ACCOUNT_OR_GAME_ACCOUNT = EntityIdRestriction_Kind(protocol.EntityIdRestriction_ACCOUNT_OR_GAME_ACCOUNT)
const EntityIdRestriction_SERVICE = EntityIdRestriction_Kind(protocol.EntityIdRestriction_SERVICE)
const EntityIdRestriction_CHANNEL = EntityIdRestriction_Kind(protocol.EntityIdRestriction_CHANNEL)

var E_FieldOptions = protocol.E_FieldOptions

var E_Valid = protocol.E_Valid

type Friend struct {
	AccountId            *protocol.EntityId    `protobuf:"bytes,1,req,name=account_id,json=accountId" json:"account_id,omitempty"`
	Attribute            []*protocol.Attribute `protobuf:"bytes,2,rep,name=attribute" json:"attribute,omitempty"`
	Role                 []uint32              `protobuf:"varint,3,rep,packed,name=role" json:"role,omitempty"`
	Privileges           *uint64               `protobuf:"varint,4,opt,name=privileges" json:"privileges,omitempty"`
	AttributesEpoch      *uint64               `protobuf:"varint,5,opt,name=attributes_epoch,json=attributesEpoch" json:"attributes_epoch,omitempty"` // Deprecated: Do not use.
	CreationTime         *uint64               `protobuf:"varint,6,opt,name=creation_time,json=creationTime" json:"creation_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *Friend) Reset()         { *m = Friend{} }
func (m *Friend) String() string { return proto.CompactTextString(m) }
func (*Friend) ProtoMessage()    {}
func (*Friend) Descriptor() ([]byte, []int) {
	return fileDescriptor_bdb5f7e93ed58c0c, []int{0}
}

func (m *Friend) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Friend.Unmarshal(m, b)
}
func (m *Friend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Friend.Marshal(b, m, deterministic)
}
func (m *Friend) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Friend.Merge(m, src)
}
func (m *Friend) XXX_Size() int {
	return xxx_messageInfo_Friend.Size(m)
}
func (m *Friend) XXX_DiscardUnknown() {
	xxx_messageInfo_Friend.DiscardUnknown(m)
}

var xxx_messageInfo_Friend proto.InternalMessageInfo

func (m *Friend) GetAccountId() *protocol.EntityId {
	if m != nil {
		return m.AccountId
	}
	return nil
}

func (m *Friend) GetAttribute() []*protocol.Attribute {
	if m != nil {
		return m.Attribute
	}
	return nil
}

func (m *Friend) GetRole() []uint32 {
	if m != nil {
		return m.Role
	}
	return nil
}

func (m *Friend) GetPrivileges() uint64 {
	if m != nil && m.Privileges != nil {
		return *m.Privileges
	}
	return 0
}

// Deprecated: Do not use.
func (m *Friend) GetAttributesEpoch() uint64 {
	if m != nil && m.AttributesEpoch != nil {
		return *m.AttributesEpoch
	}
	return 0
}

func (m *Friend) GetCreationTime() uint64 {
	if m != nil && m.CreationTime != nil {
		return *m.CreationTime
	}
	return 0
}

type FriendOfFriend struct {
	AccountId            *protocol.EntityId `protobuf:"bytes,1,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
	Role                 []uint32           `protobuf:"varint,3,rep,packed,name=role" json:"role,omitempty"`
	Privileges           *uint64            `protobuf:"varint,4,opt,name=privileges" json:"privileges,omitempty"`
	FullName             *string            `protobuf:"bytes,6,opt,name=full_name,json=fullName" json:"full_name,omitempty"`
	BattleTag            *string            `protobuf:"bytes,7,opt,name=battle_tag,json=battleTag" json:"battle_tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (m *FriendOfFriend) Reset()         { *m = FriendOfFriend{} }
func (m *FriendOfFriend) String() string { return proto.CompactTextString(m) }
func (*FriendOfFriend) ProtoMessage()    {}
func (*FriendOfFriend) Descriptor() ([]byte, []int) {
	return fileDescriptor_bdb5f7e93ed58c0c, []int{1}
}

func (m *FriendOfFriend) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FriendOfFriend.Unmarshal(m, b)
}
func (m *FriendOfFriend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FriendOfFriend.Marshal(b, m, deterministic)
}
func (m *FriendOfFriend) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FriendOfFriend.Merge(m, src)
}
func (m *FriendOfFriend) XXX_Size() int {
	return xxx_messageInfo_FriendOfFriend.Size(m)
}
func (m *FriendOfFriend) XXX_DiscardUnknown() {
	xxx_messageInfo_FriendOfFriend.DiscardUnknown(m)
}

var xxx_messageInfo_FriendOfFriend proto.InternalMessageInfo

func (m *FriendOfFriend) GetAccountId() *protocol.EntityId {
	if m != nil {
		return m.AccountId
	}
	return nil
}

func (m *FriendOfFriend) GetRole() []uint32 {
	if m != nil {
		return m.Role
	}
	return nil
}

func (m *FriendOfFriend) GetPrivileges() uint64 {
	if m != nil && m.Privileges != nil {
		return *m.Privileges
	}
	return 0
}

func (m *FriendOfFriend) GetFullName() string {
	if m != nil && m.FullName != nil {
		return *m.FullName
	}
	return ""
}

func (m *FriendOfFriend) GetBattleTag() string {
	if m != nil && m.BattleTag != nil {
		return *m.BattleTag
	}
	return ""
}

type ReceivedInvitation struct {
	Id                           *uint64            `protobuf:"fixed64,1,req,name=id" json:"id,omitempty"`
	InviterIdentity              *protocol.Identity `protobuf:"bytes,2,req,name=inviter_identity,json=inviterIdentity" json:"inviter_identity,omitempty"`
	InviteeIdentity              *protocol.Identity `protobuf:"bytes,3,req,name=invitee_identity,json=inviteeIdentity" json:"invitee_identity,omitempty"`
	InviterName                  *string            `protobuf:"bytes,4,opt,name=inviter_name,json=inviterName" json:"inviter_name,omitempty"`
	InviteeName                  *string            `protobuf:"bytes,5,opt,name=invitee_name,json=inviteeName" json:"invitee_name,omitempty"`
	CreationTime                 *uint64            `protobuf:"varint,7,opt,name=creation_time,json=creationTime" json:"creation_time,omitempty"`
	Program                      *uint32            `protobuf:"fixed32,9,opt,name=program" json:"program,omitempty"`
	XXX_NoUnkeyedLiteral         struct{}           `json:"-"`
	proto.XXX_InternalExtensions `json:"-"`
	XXX_unrecognized             []byte `json:"-"`
	XXX_sizecache                int32  `json:"-"`
}

func (m *ReceivedInvitation) Reset()         { *m = ReceivedInvitation{} }
func (m *ReceivedInvitation) String() string { return proto.CompactTextString(m) }
func (*ReceivedInvitation) ProtoMessage()    {}
func (*ReceivedInvitation) Descriptor() ([]byte, []int) {
	return fileDescriptor_bdb5f7e93ed58c0c, []int{2}
}

var extRange_ReceivedInvitation = []proto.ExtensionRange{
	{Start: 100, End: 9999},
}

func (*ReceivedInvitation) ExtensionRangeArray() []proto.ExtensionRange {
	return extRange_ReceivedInvitation
}

func (m *ReceivedInvitation) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReceivedInvitation.Unmarshal(m, b)
}
func (m *ReceivedInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReceivedInvitation.Marshal(b, m, deterministic)
}
func (m *ReceivedInvitation) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReceivedInvitation.Merge(m, src)
}
func (m *ReceivedInvitation) XXX_Size() int {
	return xxx_messageInfo_ReceivedInvitation.Size(m)
}
func (m *ReceivedInvitation) XXX_DiscardUnknown() {
	xxx_messageInfo_ReceivedInvitation.DiscardUnknown(m)
}

var xxx_messageInfo_ReceivedInvitation proto.InternalMessageInfo

func (m *ReceivedInvitation) GetId() uint64 {
	if m != nil && m.Id != nil {
		return *m.Id
	}
	return 0
}

func (m *ReceivedInvitation) GetInviterIdentity() *protocol.Identity {
	if m != nil {
		return m.InviterIdentity
	}
	return nil
}

func (m *ReceivedInvitation) GetInviteeIdentity() *protocol.Identity {
	if m != nil {
		return m.InviteeIdentity
	}
	return nil
}

func (m *ReceivedInvitation) GetInviterName() string {
	if m != nil && m.InviterName != nil {
		return *m.InviterName
	}
	return ""
}

func (m *ReceivedInvitation) GetInviteeName() string {
	if m != nil && m.InviteeName != nil {
		return *m.InviteeName
	}
	return ""
}

func (m *ReceivedInvitation) GetCreationTime() uint64 {
	if m != nil && m.CreationTime != nil {
		return *m.CreationTime
	}
	return 0
}

func (m *ReceivedInvitation) GetProgram() uint32 {
	if m != nil && m.Program != nil {
		return *m.Program
	}
	return 0
}

type FriendInvitation struct {
	Role                 []uint32              `protobuf:"varint,2,rep,packed,name=role" json:"role,omitempty"`
	Attribute            []*protocol.Attribute `protobuf:"bytes,3,rep,name=attribute" json:"attribute,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *FriendInvitation) Reset()         { *m = FriendInvitation{} }
func (m *FriendInvitation) String() string { return proto.CompactTextString(m) }
func (*FriendInvitation) ProtoMessage()    {}
func (*FriendInvitation) Descriptor() ([]byte, []int) {
	return fileDescriptor_bdb5f7e93ed58c0c, []int{3}
}

func (m *FriendInvitation) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FriendInvitation.Unmarshal(m, b)
}
func (m *FriendInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FriendInvitation.Marshal(b, m, deterministic)
}
func (m *FriendInvitation) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FriendInvitation.Merge(m, src)
}
func (m *FriendInvitation) XXX_Size() int {
	return xxx_messageInfo_FriendInvitation.Size(m)
}
func (m *FriendInvitation) XXX_DiscardUnknown() {
	xxx_messageInfo_FriendInvitation.DiscardUnknown(m)
}

var xxx_messageInfo_FriendInvitation proto.InternalMessageInfo

func (m *FriendInvitation) GetRole() []uint32 {
	if m != nil {
		return m.Role
	}
	return nil
}

func (m *FriendInvitation) GetAttribute() []*protocol.Attribute {
	if m != nil {
		return m.Attribute
	}
	return nil
}

var E_FriendInvitation_FriendInvitation = &proto.ExtensionDesc{
	ExtendedType:  (*ReceivedInvitation)(nil),
	ExtensionType: (*FriendInvitation)(nil),
	Field:         103,
	Name:          "bgs.protocol.friends.v1.FriendInvitation.friend_invitation",
	Tag:           "bytes,103,opt,name=friend_invitation",
	Filename:      "friends_types.proto",
}

type SentInvitation struct {
	Id                   *uint64               `protobuf:"fixed64,1,opt,name=id" json:"id,omitempty"`
	TargetName           *string               `protobuf:"bytes,2,opt,name=target_name,json=targetName" json:"target_name,omitempty"`
	Role                 *uint32               `protobuf:"varint,3,opt,name=role" json:"role,omitempty"`
	Attribute            []*protocol.Attribute `protobuf:"bytes,4,rep,name=attribute" json:"attribute,omitempty"`
	CreationTime         *uint64               `protobuf:"varint,5,opt,name=creation_time,json=creationTime" json:"creation_time,omitempty"`
	Program              *uint32               `protobuf:"fixed32,6,opt,name=program" json:"program,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *SentInvitation) Reset()         { *m = SentInvitation{} }
func (m *SentInvitation) String() string { return proto.CompactTextString(m) }
func (*SentInvitation) ProtoMessage()    {}
func (*SentInvitation) Descriptor() ([]byte, []int) {
	return fileDescriptor_bdb5f7e93ed58c0c, []int{4}
}

func (m *SentInvitation) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SentInvitation.Unmarshal(m, b)
}
func (m *SentInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SentInvitation.Marshal(b, m, deterministic)
}
func (m *SentInvitation) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SentInvitation.Merge(m, src)
}
func (m *SentInvitation) XXX_Size() int {
	return xxx_messageInfo_SentInvitation.Size(m)
}
func (m *SentInvitation) XXX_DiscardUnknown() {
	xxx_messageInfo_SentInvitation.DiscardUnknown(m)
}

var xxx_messageInfo_SentInvitation proto.InternalMessageInfo

func (m *SentInvitation) GetId() uint64 {
	if m != nil && m.Id != nil {
		return *m.Id
	}
	return 0
}

func (m *SentInvitation) GetTargetName() string {
	if m != nil && m.TargetName != nil {
		return *m.TargetName
	}
	return ""
}

func (m *SentInvitation) GetRole() uint32 {
	if m != nil && m.Role != nil {
		return *m.Role
	}
	return 0
}

func (m *SentInvitation) GetAttribute() []*protocol.Attribute {
	if m != nil {
		return m.Attribute
	}
	return nil
}

func (m *SentInvitation) GetCreationTime() uint64 {
	if m != nil && m.CreationTime != nil {
		return *m.CreationTime
	}
	return 0
}

func (m *SentInvitation) GetProgram() uint32 {
	if m != nil && m.Program != nil {
		return *m.Program
	}
	return 0
}

type FriendInvitationParams struct {
	TargetEmail          *string               `protobuf:"bytes,1,opt,name=target_email,json=targetEmail" json:"target_email,omitempty"`
	TargetBattleTag      *string               `protobuf:"bytes,2,opt,name=target_battle_tag,json=targetBattleTag" json:"target_battle_tag,omitempty"`
	Role                 []uint32              `protobuf:"varint,6,rep,packed,name=role" json:"role,omitempty"`
	Attribute            []*protocol.Attribute `protobuf:"bytes,8,rep,name=attribute" json:"attribute,omitempty"`
	TargetName           *string               `protobuf:"bytes,9,opt,name=target_name,json=targetName" json:"target_name,omitempty"`
	Program              *uint32               `protobuf:"fixed32,10,opt,name=program" json:"program,omitempty"` // Deprecated: Do not use.
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *FriendInvitationParams) Reset()         { *m = FriendInvitationParams{} }
func (m *FriendInvitationParams) String() string { return proto.CompactTextString(m) }
func (*FriendInvitationParams) ProtoMessage()    {}
func (*FriendInvitationParams) Descriptor() ([]byte, []int) {
	return fileDescriptor_bdb5f7e93ed58c0c, []int{5}
}

func (m *FriendInvitationParams) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FriendInvitationParams.Unmarshal(m, b)
}
func (m *FriendInvitationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FriendInvitationParams.Marshal(b, m, deterministic)
}
func (m *FriendInvitationParams) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FriendInvitationParams.Merge(m, src)
}
func (m *FriendInvitationParams) XXX_Size() int {
	return xxx_messageInfo_FriendInvitationParams.Size(m)
}
func (m *FriendInvitationParams) XXX_DiscardUnknown() {
	xxx_messageInfo_FriendInvitationParams.DiscardUnknown(m)
}

var xxx_messageInfo_FriendInvitationParams proto.InternalMessageInfo

func (m *FriendInvitationParams) GetTargetEmail() string {
	if m != nil && m.TargetEmail != nil {
		return *m.TargetEmail
	}
	return ""
}

func (m *FriendInvitationParams) GetTargetBattleTag() string {
	if m != nil && m.TargetBattleTag != nil {
		return *m.TargetBattleTag
	}
	return ""
}

func (m *FriendInvitationParams) GetRole() []uint32 {
	if m != nil {
		return m.Role
	}
	return nil
}

func (m *FriendInvitationParams) GetAttribute() []*protocol.Attribute {
	if m != nil {
		return m.Attribute
	}
	return nil
}

func (m *FriendInvitationParams) GetTargetName() string {
	if m != nil && m.TargetName != nil {
		return *m.TargetName
	}
	return ""
}

// Deprecated: Do not use.
func (m *FriendInvitationParams) GetProgram() uint32 {
	if m != nil && m.Program != nil {
		return *m.Program
	}
	return 0
}

var E_FriendInvitationParams_FriendParams = &proto.ExtensionDesc{
	ExtendedType:  (*protocol.InvitationParams)(nil),
	ExtensionType: (*FriendInvitationParams)(nil),
	Field:         103,
	Name:          "bgs.protocol.friends.v1.FriendInvitationParams.friend_params",
	Tag:           "bytes,103,opt,name=friend_params",
	Filename:      "friends_types.proto",
}

type SubscribeResponse struct {
	MaxFriends             *uint32               `protobuf:"varint,1,opt,name=max_friends,json=maxFriends" json:"max_friends,omitempty"`                                       // Deprecated: Do not use.
	MaxReceivedInvitations *uint32               `protobuf:"varint,2,opt,name=max_received_invitations,json=maxReceivedInvitations" json:"max_received_invitations,omitempty"` // Deprecated: Do not use.
	MaxSentInvitations     *uint32               `protobuf:"varint,3,opt,name=max_sent_invitations,json=maxSentInvitations" json:"max_sent_invitations,omitempty"`             // Deprecated: Do not use.
	Role                   []*protocol.Role      `protobuf:"bytes,4,rep,name=role" json:"role,omitempty"`
	Friends                []*Friend             `protobuf:"bytes,5,rep,name=friends" json:"friends,omitempty"`
	ReceivedInvitations    []*ReceivedInvitation `protobuf:"bytes,7,rep,name=received_invitations,json=receivedInvitations" json:"received_invitations,omitempty"`
	SentInvitations        []*SentInvitation     `protobuf:"bytes,8,rep,name=sent_invitations,json=sentInvitations" json:"sent_invitations,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}              `json:"-"`
	XXX_unrecognized       []byte                `json:"-"`
	XXX_sizecache          int32                 `json:"-"`
}

func (m *SubscribeResponse) Reset()         { *m = SubscribeResponse{} }
func (m *SubscribeResponse) String() string { return proto.CompactTextString(m) }
func (*SubscribeResponse) ProtoMessage()    {}
func (*SubscribeResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_bdb5f7e93ed58c0c, []int{6}
}

func (m *SubscribeResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SubscribeResponse.Unmarshal(m, b)
}
func (m *SubscribeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SubscribeResponse.Marshal(b, m, deterministic)
}
func (m *SubscribeResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SubscribeResponse.Merge(m, src)
}
func (m *SubscribeResponse) XXX_Size() int {
	return xxx_messageInfo_SubscribeResponse.Size(m)
}
func (m *SubscribeResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_SubscribeResponse.DiscardUnknown(m)
}

var xxx_messageInfo_SubscribeResponse proto.InternalMessageInfo

// Deprecated: Do not use.
func (m *SubscribeResponse) GetMaxFriends() uint32 {
	if m != nil && m.MaxFriends != nil {
		return *m.MaxFriends
	}
	return 0
}

// Deprecated: Do not use.
func (m *SubscribeResponse) GetMaxReceivedInvitations() uint32 {
	if m != nil && m.MaxReceivedInvitations != nil {
		return *m.MaxReceivedInvitations
	}
	return 0
}

// Deprecated: Do not use.
func (m *SubscribeResponse) GetMaxSentInvitations() uint32 {
	if m != nil && m.MaxSentInvitations != nil {
		return *m.MaxSentInvitations
	}
	return 0
}

func (m *SubscribeResponse) GetRole() []*protocol.Role {
	if m != nil {
		return m.Role
	}
	return nil
}

func (m *SubscribeResponse) GetFriends() []*Friend {
	if m != nil {
		return m.Friends
	}
	return nil
}

func (m *SubscribeResponse) GetReceivedInvitations() []*ReceivedInvitation {
	if m != nil {
		return m.ReceivedInvitations
	}
	return nil
}

func (m *SubscribeResponse) GetSentInvitations() []*SentInvitation {
	if m != nil {
		return m.SentInvitations
	}
	return nil
}

type AcceptInvitationOptions struct {
	Role                 *uint32  `protobuf:"varint,1,opt,name=role" json:"role,omitempty"`
	Program              *uint32  `protobuf:"fixed32,2,opt,name=program" json:"program,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *AcceptInvitationOptions) Reset()         { *m = AcceptInvitationOptions{} }
func (m *AcceptInvitationOptions) String() string { return proto.CompactTextString(m) }
func (*AcceptInvitationOptions) ProtoMessage()    {}
func (*AcceptInvitationOptions) Descriptor() ([]byte, []int) {
	return fileDescriptor_bdb5f7e93ed58c0c, []int{7}
}

func (m *AcceptInvitationOptions) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_AcceptInvitationOptions.Unmarshal(m, b)
}
func (m *AcceptInvitationOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_AcceptInvitationOptions.Marshal(b, m, deterministic)
}
func (m *AcceptInvitationOptions) XXX_Merge(src proto.Message) {
	xxx_messageInfo_AcceptInvitationOptions.Merge(m, src)
}
func (m *AcceptInvitationOptions) XXX_Size() int {
	return xxx_messageInfo_AcceptInvitationOptions.Size(m)
}
func (m *AcceptInvitationOptions) XXX_DiscardUnknown() {
	xxx_messageInfo_AcceptInvitationOptions.DiscardUnknown(m)
}

var xxx_messageInfo_AcceptInvitationOptions proto.InternalMessageInfo

func (m *AcceptInvitationOptions) GetRole() uint32 {
	if m != nil && m.Role != nil {
		return *m.Role
	}
	return 0
}

func (m *AcceptInvitationOptions) GetProgram() uint32 {
	if m != nil && m.Program != nil {
		return *m.Program
	}
	return 0
}

func init() {
	proto.RegisterType((*Friend)(nil), "bgs.protocol.friends.v1.Friend")
	proto.RegisterType((*FriendOfFriend)(nil), "bgs.protocol.friends.v1.FriendOfFriend")
	proto.RegisterType((*ReceivedInvitation)(nil), "bgs.protocol.friends.v1.ReceivedInvitation")
	proto.RegisterExtension(E_FriendInvitation_FriendInvitation)
	proto.RegisterType((*FriendInvitation)(nil), "bgs.protocol.friends.v1.FriendInvitation")
	proto.RegisterType((*SentInvitation)(nil), "bgs.protocol.friends.v1.SentInvitation")
	proto.RegisterExtension(E_FriendInvitationParams_FriendParams)
	proto.RegisterType((*FriendInvitationParams)(nil), "bgs.protocol.friends.v1.FriendInvitationParams")
	proto.RegisterType((*SubscribeResponse)(nil), "bgs.protocol.friends.v1.SubscribeResponse")
	proto.RegisterType((*AcceptInvitationOptions)(nil), "bgs.protocol.friends.v1.AcceptInvitationOptions")
}

func init() { proto.RegisterFile("friends_types.proto", fileDescriptor_bdb5f7e93ed58c0c) }

var fileDescriptor_bdb5f7e93ed58c0c = []byte{
	// 875 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xcd, 0x6e, 0x23, 0x45,
	0x10, 0x66, 0xc6, 0x7f, 0x71, 0x39, 0x4e, 0x9c, 0xde, 0xc5, 0x19, 0x05, 0xd8, 0x35, 0x46, 0x80,
	0x59, 0x84, 0x67, 0x37, 0x82, 0x03, 0x12, 0x1c, 0x62, 0x29, 0xa0, 0x5c, 0x76, 0xa3, 0xde, 0x9c,
	0x38, 0x30, 0xea, 0x19, 0xb7, 0x27, 0x2d, 0xcd, 0x9f, 0xa6, 0xdb, 0x96, 0xf7, 0x0a, 0x2f, 0xc0,
	0xd3, 0x70, 0xe1, 0xc8, 0x91, 0x07, 0xe1, 0xc0, 0x4b, 0xa0, 0xfe, 0x99, 0xf1, 0x8c, 0xed, 0x2c,
	0x66, 0x6f, 0xee, 0xea, 0xaa, 0x72, 0x7d, 0x3f, 0xd5, 0x1a, 0x78, 0xb4, 0xc8, 0x19, 0x4d, 0xe6,
	0xdc, 0x13, 0x6f, 0x32, 0xca, 0xa7, 0x59, 0x9e, 0x8a, 0x14, 0x9d, 0xfb, 0xa1, 0xf9, 0x19, 0xa4,
	0xd1, 0xd4, 0x64, 0x4c, 0x57, 0x2f, 0x2e, 0x3e, 0x0d, 0xa3, 0xd4, 0x27, 0x91, 0x47, 0xd7, 0x82,
	0x26, 0x9c, 0xa5, 0x09, 0x77, 0x17, 0x8c, 0x46, 0x73, 0x2f, 0xcd, 0x84, 0x3c, 0xe9, 0xa2, 0x8b,
	0xf7, 0x89, 0x10, 0x39, 0xf3, 0x97,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