// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.32.0
// 	protoc        v3.12.4
// source: bgs/low/pb/client/api/client/v2/presence_listener.proto

package v2

import (
	protocol "github.com/cjbrigato/d4-bnet-mitm/bnet/bgs/protocol"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type PresenceStateUpdatedNotification struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	SubscriberId *uint64               `protobuf:"varint,1,opt,name=subscriber_id,json=subscriberId" json:"subscriber_id,omitempty"`
	States       []*PresenceFieldState `protobuf:"bytes,2,rep,name=states" json:"states,omitempty"`
}

func (x *PresenceStateUpdatedNotification) Reset() {
	*x = PresenceStateUpdatedNotification{}
	if protoimpl.UnsafeEnabled {
		mi := &file_bgs_low_pb_client_api_client_v2_presence_listener_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PresenceStateUpdatedNotification) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PresenceStateUpdatedNotification) ProtoMessage() {}

func (x *PresenceStateUpdatedNotification) ProtoReflect() protoreflect.Message {
	mi := &file_bgs_low_pb_client_api_client_v2_presence_listener_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PresenceStateUpdatedNotification.ProtoReflect.Descriptor instead.
func (*PresenceStateUpdatedNotification) Descriptor() ([]byte, []int) {
	return file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDescGZIP(), []int{0}
}

func (x *PresenceStateUpdatedNotification) GetSubscriberId() uint64 {
	if x != nil && x.SubscriberId != nil {
		return *x.SubscriberId
	}
	return 0
}

func (x *PresenceStateUpdatedNotification) GetStates() []*PresenceFieldState {
	if x != nil {
		return x.States
	}
	return nil
}

type SubscribeFailureResult struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	AccountId *uint64 `protobuf:"varint,1,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
	Status    *uint32 `protobuf:"varint,2,opt,name=status" json:"status,omitempty"`
}

func (x *SubscribeFailureResult) Reset() {
	*x = SubscribeFailureResult{}
	if protoimpl.UnsafeEnabled {
		mi := &file_bgs_low_pb_client_api_client_v2_presence_listener_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *SubscribeFailureResult) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SubscribeFailureResult) ProtoMessage() {}

func (x *SubscribeFailureResult) ProtoReflect() protoreflect.Message {
	mi := &file_bgs_low_pb_client_api_client_v2_presence_listener_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SubscribeFailureResult.ProtoReflect.Descriptor instead.
func (*SubscribeFailureResult) Descriptor() ([]byte, []int) {
	return file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDescGZIP(), []int{1}
}

func (x *SubscribeFailureResult) GetAccountId() uint64 {
	if x != nil && x.AccountId != nil {
		return *x.AccountId
	}
	return 0
}

func (x *SubscribeFailureResult) GetStatus() uint32 {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return 0
}

type SubscribeFailureNotification struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Failures []*SubscribeFailureResult `protobuf:"bytes,1,rep,name=failures" json:"failures,omitempty"`
}

func (x *SubscribeFailureNotification) Reset() {
	*x = SubscribeFailureNotification{}
	if protoimpl.UnsafeEnabled {
		mi := &file_bgs_low_pb_client_api_client_v2_presence_listener_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *SubscribeFailureNotification) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SubscribeFailureNotification) ProtoMessage() {}

func (x *SubscribeFailureNotification) ProtoReflect() protoreflect.Message {
	mi := &file_bgs_low_pb_client_api_client_v2_presence_listener_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SubscribeFailureNotification.ProtoReflect.Descriptor instead.
func (*SubscribeFailureNotification) Descriptor() ([]byte, []int) {
	return file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDescGZIP(), []int{2}
}

func (x *SubscribeFailureNotification) GetFailures() []*SubscribeFailureResult {
	if x != nil {
		return x.Failures
	}
	return nil
}

var File_bgs_low_pb_client_api_client_v2_presence_listener_proto protoreflect.FileDescriptor

var file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDesc = []byte{
	0x0a, 0x37, 0x62, 0x67, 0x73, 0x2f, 0x6c, 0x6f, 0x77, 0x2f, 0x70, 0x62, 0x2f, 0x63, 0x6c, 0x69,
	0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76,
	0x32, 0x2f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x65,
	0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x62, 0x67, 0x73, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65,
	0x2e, 0x76, 0x32, 0x1a, 0x34, 0x62, 0x67, 0x73, 0x2f, 0x6c, 0x6f, 0x77, 0x2f, 0x70, 0x62, 0x2f,
	0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
	0x74, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x79,
	0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x62, 0x67, 0x73, 0x2f, 0x6c,
	0x6f, 0x77, 0x2f, 0x70, 0x62, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x72, 0x70, 0x63,
	0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a,
	0x20, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x55, 0x70,
	0x64, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
	0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x5f,
	0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72,
	0x69, 0x62, 0x65, 0x72, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73,
	0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x76,
	0x32, 0x2e, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53,
	0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x4f, 0x0a, 0x16,
	0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65,
	0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
	0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f,
	0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
	0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x6c, 0x0a,
	0x1c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72,
	0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a,
	0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
	0x30, 0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70,
	0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63,
	0x72, 0x69, 0x62, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c,
	0x74, 0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x32, 0xec, 0x01, 0x0a, 0x10,
	0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72,
	0x12, 0x6f, 0x0a, 0x16, 0x4f, 0x6e, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x74,
	0x61, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x3a, 0x2e, 0x62, 0x67, 0x73,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e,
	0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x74,
	0x61, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69,
	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x19, 0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x4f, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53,
	0x45, 0x12, 0x67, 0x0a, 0x12, 0x4f, 0x6e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
	0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x36, 0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x2e,
	0x76, 0x32, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x46, 0x61, 0x69, 0x6c,
	0x75, 0x72, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a,
	0x19, 0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e,
	0x4f, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x42, 0x41, 0x5a, 0x3f, 0x67, 0x69,
	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6a, 0x62, 0x72, 0x69, 0x67, 0x61,
	0x74, 0x6f, 0x2f, 0x64, 0x34, 0x2d, 0x62, 0x6e, 0x65, 0x74, 0x2d, 0x6d, 0x69, 0x74, 0x6d, 0x2f,
	0x62, 0x6e, 0x65, 0x74, 0x2f, 0x62, 0x67, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
	0x6c, 0x2f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x76, 0x32,
}

var (
	file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDescOnce sync.Once
	file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDescData = file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDesc
)

func file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDescGZIP() []byte {
	file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDescOnce.Do(func() {
		file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDescData = protoimpl.X.CompressGZIP(file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDescData)
	})
	return file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDescData
}

var file_bgs_low_pb_client_api_client_v2_presence_listener_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_bgs_low_pb_client_api_client_v2_presence_listener_proto_goTypes = []interface{}{
	(*PresenceStateUpdatedNotification)(nil), // 0: bgs.protocol.presence.v2.PresenceStateUpdatedNotification
	(*SubscribeFailureResult)(nil),           // 1: bgs.protocol.presence.v2.SubscribeFailureResult
	(*SubscribeFailureNotification)(nil),     // 2: bgs.protocol.presence.v2.SubscribeFailureNotification
	(*PresenceFieldState)(nil),               // 3: bgs.protocol.presence.v2.PresenceFieldState
	(*protocol.NO_RESPONSE)(nil),             // 4: bgs.protocol.NO_RESPONSE
}
var file_bgs_low_pb_client_api_client_v2_presence_listener_proto_depIdxs = []int32{
	3, // 0: bgs.protocol.presence.v2.PresenceStateUpdatedNotification.states:type_name -> bgs.protocol.presence.v2.PresenceFieldState
	1, // 1: bgs.protocol.presence.v2.SubscribeFailureNotification.failures:type_name -> bgs.protocol.presence.v2.SubscribeFailureResult
	0, // 2: bgs.protocol.presence.v2.PresenceListener.OnPresenceStateUpdated:input_type -> bgs.protocol.presence.v2.PresenceStateUpdatedNotification
	2, // 3: bgs.protocol.presence.v2.PresenceListener.OnSubscribeFailure:input_type -> bgs.protocol.presence.v2.SubscribeFailureNotification
	4, // 4: bgs.protocol.presence.v2.PresenceListener.OnPresenceStateUpdated:output_type -> bgs.protocol.NO_RESPONSE
	4, // 5: bgs.protocol.presence.v2.PresenceListener.OnSubscribeFailure:output_type -> bgs.protocol.NO_RESPONSE
	4, // [4:6] is the sub-list for method output_type
	2, // [2:4] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_bgs_low_pb_client_api_client_v2_presence_listener_proto_init() }
func file_bgs_low_pb_client_api_client_v2_presence_listener_proto_init() {
	if File_bgs_low_pb_client_api_client_v2_presence_listener_proto != nil {
		return
	}
	file_bgs_low_pb_client_api_client_v2_presence_types_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_bgs_low_pb_client_api_client_v2_presence_listener_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PresenceStateUpdatedNotification); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_bgs_low_pb_client_api_client_v2_presence_listener_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SubscribeFailureResult); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_bgs_low_pb_client_api_client_v2_presence_listener_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SubscribeFailureNotification); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_bgs_low_pb_client_api_client_v2_presence_listener_proto_goTypes,
		DependencyIndexes: file_bgs_low_pb_client_api_client_v2_presence_listener_proto_depIdxs,
		MessageInfos:      file_bgs_low_pb_client_api_client_v2_presence_listener_proto_msgTypes,
	}.Build()
	File_bgs_low_pb_client_api_client_v2_presence_listener_proto = out.File
	file_bgs_low_pb_client_api_client_v2_presence_listener_proto_rawDesc = nil
	file_bgs_low_pb_client_api_client_v2_presence_listener_proto_goTypes = nil
	file_bgs_low_pb_client_api_client_v2_presence_listener_proto_depIdxs = nil
}
