// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.34.2
// 	protoc        v5.27.2
// source: KeepAliveRequest.proto

package acproto

import (
	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 KeepAliveRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	PresenceStatus       RegisterRequest_PresenceStatus `protobuf:"varint,1,opt,name=presenceStatus,proto3,enum=AcFunDanmu.Im.Basic.RegisterRequest_PresenceStatus" json:"presenceStatus,omitempty"`
	AppActiveStatus      RegisterRequest_ActiveStatus   `protobuf:"varint,2,opt,name=appActiveStatus,proto3,enum=AcFunDanmu.Im.Basic.RegisterRequest_ActiveStatus" json:"appActiveStatus,omitempty"`
	PushServiceToken     *PushServiceToken              `protobuf:"bytes,3,opt,name=pushServiceToken,proto3" json:"pushServiceToken,omitempty"`
	PushServiceTokenList []*PushServiceToken            `protobuf:"bytes,4,rep,name=pushServiceTokenList,proto3" json:"pushServiceTokenList,omitempty"`
	KeepaliveIntervalSec int32                          `protobuf:"varint,5,opt,name=keepaliveIntervalSec,proto3" json:"keepaliveIntervalSec,omitempty"`
	Ipv6Available        bool                           `protobuf:"varint,6,opt,name=ipv6Available,proto3" json:"ipv6Available,omitempty"`
}

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

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

func (*KeepAliveRequest) ProtoMessage() {}

func (x *KeepAliveRequest) ProtoReflect() protoreflect.Message {
	mi := &file_KeepAliveRequest_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 KeepAliveRequest.ProtoReflect.Descriptor instead.
func (*KeepAliveRequest) Descriptor() ([]byte, []int) {
	return file_KeepAliveRequest_proto_rawDescGZIP(), []int{0}
}

func (x *KeepAliveRequest) GetPresenceStatus() RegisterRequest_PresenceStatus {
	if x != nil {
		return x.PresenceStatus
	}
	return RegisterRequest_kPresenceOffline
}

func (x *KeepAliveRequest) GetAppActiveStatus() RegisterRequest_ActiveStatus {
	if x != nil {
		return x.AppActiveStatus
	}
	return RegisterRequest_kInvalid
}

func (x *KeepAliveRequest) GetPushServiceToken() *PushServiceToken {
	if x != nil {
		return x.PushServiceToken
	}
	return nil
}

func (x *KeepAliveRequest) GetPushServiceTokenList() []*PushServiceToken {
	if x != nil {
		return x.PushServiceTokenList
	}
	return nil
}

func (x *KeepAliveRequest) GetKeepaliveIntervalSec() int32 {
	if x != nil {
		return x.KeepaliveIntervalSec
	}
	return 0
}

func (x *KeepAliveRequest) GetIpv6Available() bool {
	if x != nil {
		return x.Ipv6Available
	}
	return false
}

var File_KeepAliveRequest_proto protoreflect.FileDescriptor

var file_KeepAliveRequest_proto_rawDesc = []byte{
	0x0a, 0x16, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
	0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x41, 0x63, 0x46, 0x75, 0x6e, 0x44,
	0x61, 0x6e, 0x6d, 0x75, 0x2e, 0x49, 0x6d, 0x2e, 0x42, 0x61, 0x73, 0x69, 0x63, 0x1a, 0x16, 0x50,
	0x75, 0x73, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, 0x03, 0x0a,
	0x10, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x12, 0x5b, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61,
	0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x41, 0x63, 0x46, 0x75,
	0x6e, 0x44, 0x61, 0x6e, 0x6d, 0x75, 0x2e, 0x49, 0x6d, 0x2e, 0x42, 0x61, 0x73, 0x69, 0x63, 0x2e,
	0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
	0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0e,
	0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x5b,
	0x0a, 0x0f, 0x61, 0x70, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75,
	0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x41, 0x63, 0x46, 0x75, 0x6e, 0x44,
	0x61, 0x6e, 0x6d, 0x75, 0x2e, 0x49, 0x6d, 0x2e, 0x42, 0x61, 0x73, 0x69, 0x63, 0x2e, 0x52, 0x65,
	0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x63,
	0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x41,
	0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x51, 0x0a, 0x10, 0x70,
	0x75, 0x73, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
	0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x41, 0x63, 0x46, 0x75, 0x6e, 0x44, 0x61, 0x6e,
	0x6d, 0x75, 0x2e, 0x49, 0x6d, 0x2e, 0x42, 0x61, 0x73, 0x69, 0x63, 0x2e, 0x50, 0x75, 0x73, 0x68,
	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x10, 0x70, 0x75,
	0x73, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x59,
	0x0a, 0x14, 0x70, 0x75, 0x73, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x6f, 0x6b,
	0x65, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x41,
	0x63, 0x46, 0x75, 0x6e, 0x44, 0x61, 0x6e, 0x6d, 0x75, 0x2e, 0x49, 0x6d, 0x2e, 0x42, 0x61, 0x73,
	0x69, 0x63, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x6f,
	0x6b, 0x65, 0x6e, 0x52, 0x14, 0x70, 0x75, 0x73, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
	0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x14, 0x6b, 0x65, 0x65,
	0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65,
	0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69,
	0x76, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x12, 0x24, 0x0a,
	0x0d, 0x69, 0x70, 0x76, 0x36, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06,
	0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x70, 0x76, 0x36, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61,
	0x62, 0x6c, 0x65, 0x42, 0x26, 0x5a, 0x24, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
	0x6d, 0x2f, 0x6f, 0x72, 0x7a, 0x6f, 0x67, 0x63, 0x2f, 0x61, 0x63, 0x66, 0x75, 0x6e, 0x64, 0x61,
	0x6e, 0x6d, 0x75, 0x2f, 0x61, 0x63, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x33,
}

var (
	file_KeepAliveRequest_proto_rawDescOnce sync.Once
	file_KeepAliveRequest_proto_rawDescData = file_KeepAliveRequest_proto_rawDesc
)

func file_KeepAliveRequest_proto_rawDescGZIP() []byte {
	file_KeepAliveRequest_proto_rawDescOnce.Do(func() {
		file_KeepAliveRequest_proto_rawDescData = protoimpl.X.CompressGZIP(file_KeepAliveRequest_proto_rawDescData)
	})
	return file_KeepAliveRequest_proto_rawDescData
}

var file_KeepAliveRequest_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_KeepAliveRequest_proto_goTypes = []any{
	(*KeepAliveRequest)(nil),            // 0: AcFunDanmu.Im.Basic.KeepAliveRequest
	(RegisterRequest_PresenceStatus)(0), // 1: AcFunDanmu.Im.Basic.RegisterRequest.PresenceStatus
	(RegisterRequest_ActiveStatus)(0),   // 2: AcFunDanmu.Im.Basic.RegisterRequest.ActiveStatus
	(*PushServiceToken)(nil),            // 3: AcFunDanmu.Im.Basic.PushServiceToken
}
var file_KeepAliveRequest_proto_depIdxs = []int32{
	1, // 0: AcFunDanmu.Im.Basic.KeepAliveRequest.presenceStatus:type_name -> AcFunDanmu.Im.Basic.RegisterRequest.PresenceStatus
	2, // 1: AcFunDanmu.Im.Basic.KeepAliveRequest.appActiveStatus:type_name -> AcFunDanmu.Im.Basic.RegisterRequest.ActiveStatus
	3, // 2: AcFunDanmu.Im.Basic.KeepAliveRequest.pushServiceToken:type_name -> AcFunDanmu.Im.Basic.PushServiceToken
	3, // 3: AcFunDanmu.Im.Basic.KeepAliveRequest.pushServiceTokenList:type_name -> AcFunDanmu.Im.Basic.PushServiceToken
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_KeepAliveRequest_proto_init() }
func file_KeepAliveRequest_proto_init() {
	if File_KeepAliveRequest_proto != nil {
		return
	}
	file_PushServiceToken_proto_init()
	file_RegisterRequest_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_KeepAliveRequest_proto_msgTypes[0].Exporter = func(v any, i int) any {
			switch v := v.(*KeepAliveRequest); 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_KeepAliveRequest_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_KeepAliveRequest_proto_goTypes,
		DependencyIndexes: file_KeepAliveRequest_proto_depIdxs,
		MessageInfos:      file_KeepAliveRequest_proto_msgTypes,
	}.Build()
	File_KeepAliveRequest_proto = out.File
	file_KeepAliveRequest_proto_rawDesc = nil
	file_KeepAliveRequest_proto_goTypes = nil
	file_KeepAliveRequest_proto_depIdxs = nil
}
