// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.27.1
// 	protoc        v3.15.8
// source: service/cross_push_gift.proto

package proto

import (
	context "context"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	model "vikingar/proto/gen-go/model"
)

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

	ServerIds []int32 `protobuf:"zigzag32,1,rep,packed,name=server_ids,json=serverIds,proto3" json:"server_ids,omitempty"` //区服id
}

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

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

func (*PushGiftGetPointsRequest) ProtoMessage() {}

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

func (x *PushGiftGetPointsRequest) GetServerIds() []int32 {
	if x != nil {
		return x.ServerIds
	}
	return nil
}

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

	Code int64                           `protobuf:"zigzag64,1,opt,name=code,proto3" json:"code,omitempty"`
	Info string                          `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	Data *PushGiftGetPointsResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

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

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

func (*PushGiftGetPointsResponse) ProtoMessage() {}

func (x *PushGiftGetPointsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_service_cross_push_gift_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 PushGiftGetPointsResponse.ProtoReflect.Descriptor instead.
func (*PushGiftGetPointsResponse) Descriptor() ([]byte, []int) {
	return file_service_cross_push_gift_proto_rawDescGZIP(), []int{1}
}

func (x *PushGiftGetPointsResponse) GetCode() int64 {
	if x != nil {
		return x.Code
	}
	return 0
}

func (x *PushGiftGetPointsResponse) GetInfo() string {
	if x != nil {
		return x.Info
	}
	return ""
}

func (x *PushGiftGetPointsResponse) GetData() *PushGiftGetPointsResponse_Data {
	if x != nil {
		return x.Data
	}
	return nil
}

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

	ServerIds []int32 `protobuf:"zigzag32,1,rep,packed,name=server_ids,json=serverIds,proto3" json:"server_ids,omitempty"` //区服id
}

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

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

func (*PushGiftGetPushGiftRuleRequest) ProtoMessage() {}

func (x *PushGiftGetPushGiftRuleRequest) ProtoReflect() protoreflect.Message {
	mi := &file_service_cross_push_gift_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 PushGiftGetPushGiftRuleRequest.ProtoReflect.Descriptor instead.
func (*PushGiftGetPushGiftRuleRequest) Descriptor() ([]byte, []int) {
	return file_service_cross_push_gift_proto_rawDescGZIP(), []int{2}
}

func (x *PushGiftGetPushGiftRuleRequest) GetServerIds() []int32 {
	if x != nil {
		return x.ServerIds
	}
	return nil
}

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

	Code int64                                 `protobuf:"zigzag64,1,opt,name=code,proto3" json:"code,omitempty"`
	Info string                                `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	Data *PushGiftGetPushGiftRuleResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

func (x *PushGiftGetPushGiftRuleResponse) Reset() {
	*x = PushGiftGetPushGiftRuleResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_cross_push_gift_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PushGiftGetPushGiftRuleResponse) ProtoMessage() {}

func (x *PushGiftGetPushGiftRuleResponse) ProtoReflect() protoreflect.Message {
	mi := &file_service_cross_push_gift_proto_msgTypes[3]
	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 PushGiftGetPushGiftRuleResponse.ProtoReflect.Descriptor instead.
func (*PushGiftGetPushGiftRuleResponse) Descriptor() ([]byte, []int) {
	return file_service_cross_push_gift_proto_rawDescGZIP(), []int{3}
}

func (x *PushGiftGetPushGiftRuleResponse) GetCode() int64 {
	if x != nil {
		return x.Code
	}
	return 0
}

func (x *PushGiftGetPushGiftRuleResponse) GetInfo() string {
	if x != nil {
		return x.Info
	}
	return ""
}

func (x *PushGiftGetPushGiftRuleResponse) GetData() *PushGiftGetPushGiftRuleResponse_Data {
	if x != nil {
		return x.Data
	}
	return nil
}

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

	PointId []int32 `protobuf:"zigzag32,1,rep,packed,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` // 点位id
}

func (x *PushGiftPointIdList) Reset() {
	*x = PushGiftPointIdList{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_cross_push_gift_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PushGiftPointIdList) ProtoMessage() {}

func (x *PushGiftPointIdList) ProtoReflect() protoreflect.Message {
	mi := &file_service_cross_push_gift_proto_msgTypes[4]
	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 PushGiftPointIdList.ProtoReflect.Descriptor instead.
func (*PushGiftPointIdList) Descriptor() ([]byte, []int) {
	return file_service_cross_push_gift_proto_rawDescGZIP(), []int{4}
}

func (x *PushGiftPointIdList) GetPointId() []int32 {
	if x != nil {
		return x.PointId
	}
	return nil
}

// 点位配置
type PushGiftPointConfig struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	PointId      int32                     `protobuf:"zigzag32,1,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"`              // 点位id
	IsRepeatable bool                      `protobuf:"varint,2,opt,name=is_repeatable,json=isRepeatable,proto3" json:"is_repeatable,omitempty"` // 是否可重复触发
	Conditions   []*PushGiftPointCondition `protobuf:"bytes,3,rep,name=conditions,proto3" json:"conditions,omitempty"`                          // 点位条件
	Priority     int32                     `protobuf:"zigzag32,4,opt,name=priority,proto3" json:"priority,omitempty"`                           // 优先级
	GiftType     int32                     `protobuf:"zigzag32,5,opt,name=gift_type,json=giftType,proto3" json:"gift_type,omitempty"`           // 点位类型
	GiftLevel    int32                     `protobuf:"zigzag32,6,opt,name=gift_level,json=giftLevel,proto3" json:"gift_level,omitempty"`        // 点位档位（0表示9档；1-9任意值表示指定档位）
}

func (x *PushGiftPointConfig) Reset() {
	*x = PushGiftPointConfig{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_cross_push_gift_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PushGiftPointConfig) ProtoMessage() {}

func (x *PushGiftPointConfig) ProtoReflect() protoreflect.Message {
	mi := &file_service_cross_push_gift_proto_msgTypes[5]
	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 PushGiftPointConfig.ProtoReflect.Descriptor instead.
func (*PushGiftPointConfig) Descriptor() ([]byte, []int) {
	return file_service_cross_push_gift_proto_rawDescGZIP(), []int{5}
}

func (x *PushGiftPointConfig) GetPointId() int32 {
	if x != nil {
		return x.PointId
	}
	return 0
}

func (x *PushGiftPointConfig) GetIsRepeatable() bool {
	if x != nil {
		return x.IsRepeatable
	}
	return false
}

func (x *PushGiftPointConfig) GetConditions() []*PushGiftPointCondition {
	if x != nil {
		return x.Conditions
	}
	return nil
}

func (x *PushGiftPointConfig) GetPriority() int32 {
	if x != nil {
		return x.Priority
	}
	return 0
}

func (x *PushGiftPointConfig) GetGiftType() int32 {
	if x != nil {
		return x.GiftType
	}
	return 0
}

func (x *PushGiftPointConfig) GetGiftLevel() int32 {
	if x != nil {
		return x.GiftLevel
	}
	return 0
}

// 点位条件
type PushGiftPointCondition struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	ConditionId string `protobuf:"bytes,1,opt,name=condition_id,json=conditionId,proto3" json:"condition_id,omitempty"` // 条件id
	No          int32  `protobuf:"zigzag32,2,opt,name=no,proto3" json:"no,omitempty"`                                   // 条件编号
	Args        string `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"`                                  // 条件参数（序列化后的字符串）
}

func (x *PushGiftPointCondition) Reset() {
	*x = PushGiftPointCondition{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_cross_push_gift_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PushGiftPointCondition) ProtoMessage() {}

func (x *PushGiftPointCondition) ProtoReflect() protoreflect.Message {
	mi := &file_service_cross_push_gift_proto_msgTypes[6]
	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 PushGiftPointCondition.ProtoReflect.Descriptor instead.
func (*PushGiftPointCondition) Descriptor() ([]byte, []int) {
	return file_service_cross_push_gift_proto_rawDescGZIP(), []int{6}
}

func (x *PushGiftPointCondition) GetConditionId() string {
	if x != nil {
		return x.ConditionId
	}
	return ""
}

func (x *PushGiftPointCondition) GetNo() int32 {
	if x != nil {
		return x.No
	}
	return 0
}

func (x *PushGiftPointCondition) GetArgs() string {
	if x != nil {
		return x.Args
	}
	return ""
}

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

	GiftType   int32                  `protobuf:"zigzag32,1,opt,name=gift_type,json=giftType,proto3" json:"gift_type,omitempty"` // 礼包类型
	GiftClass  string                 `protobuf:"bytes,2,opt,name=gift_class,json=giftClass,proto3" json:"gift_class,omitempty"` // 礼包类别
	GiftLevels []*PushGiftLevelConfig `protobuf:"bytes,3,rep,name=giftLevels,proto3" json:"giftLevels,omitempty"`                // 礼包档位配置
}

func (x *PushGiftConfig) Reset() {
	*x = PushGiftConfig{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_cross_push_gift_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PushGiftConfig) ProtoMessage() {}

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

func (x *PushGiftConfig) GetGiftType() int32 {
	if x != nil {
		return x.GiftType
	}
	return 0
}

func (x *PushGiftConfig) GetGiftClass() string {
	if x != nil {
		return x.GiftClass
	}
	return ""
}

func (x *PushGiftConfig) GetGiftLevels() []*PushGiftLevelConfig {
	if x != nil {
		return x.GiftLevels
	}
	return nil
}

// 礼包档位配置
type PushGiftLevelConfig struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	GiftLevel int32                    `protobuf:"zigzag32,1,opt,name=gift_level,json=giftLevel,proto3" json:"gift_level,omitempty"`        // 礼包档位
	PayItemId string                   `protobuf:"bytes,2,opt,name=pay_item_id,json=payItemId,proto3" json:"pay_item_id,omitempty"`         // 商品id
	Content   []*model.GameObjectCount `protobuf:"bytes,3,rep,name=content,proto3" json:"content,omitempty"`                                // 礼包内容
	SloganNos []int32                  `protobuf:"zigzag32,4,rep,packed,name=slogan_nos,json=sloganNos,proto3" json:"slogan_nos,omitempty"` // 推销文本
	NpcType   int32                    `protobuf:"zigzag32,5,opt,name=npc_type,json=npcType,proto3" json:"npc_type,omitempty"`              // npc类型
	NpcNo     int32                    `protobuf:"zigzag32,6,opt,name=npc_no,json=npcNo,proto3" json:"npc_no,omitempty"`                    // npc编号
	ValueOf   int32                    `protobuf:"zigzag32,7,opt,name=value_of,json=valueOf,proto3" json:"value_of,omitempty"`              // 性价比
}

func (x *PushGiftLevelConfig) Reset() {
	*x = PushGiftLevelConfig{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_cross_push_gift_proto_msgTypes[8]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PushGiftLevelConfig) ProtoMessage() {}

func (x *PushGiftLevelConfig) ProtoReflect() protoreflect.Message {
	mi := &file_service_cross_push_gift_proto_msgTypes[8]
	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 PushGiftLevelConfig.ProtoReflect.Descriptor instead.
func (*PushGiftLevelConfig) Descriptor() ([]byte, []int) {
	return file_service_cross_push_gift_proto_rawDescGZIP(), []int{8}
}

func (x *PushGiftLevelConfig) GetGiftLevel() int32 {
	if x != nil {
		return x.GiftLevel
	}
	return 0
}

func (x *PushGiftLevelConfig) GetPayItemId() string {
	if x != nil {
		return x.PayItemId
	}
	return ""
}

func (x *PushGiftLevelConfig) GetContent() []*model.GameObjectCount {
	if x != nil {
		return x.Content
	}
	return nil
}

func (x *PushGiftLevelConfig) GetSloganNos() []int32 {
	if x != nil {
		return x.SloganNos
	}
	return nil
}

func (x *PushGiftLevelConfig) GetNpcType() int32 {
	if x != nil {
		return x.NpcType
	}
	return 0
}

func (x *PushGiftLevelConfig) GetNpcNo() int32 {
	if x != nil {
		return x.NpcNo
	}
	return 0
}

func (x *PushGiftLevelConfig) GetValueOf() int32 {
	if x != nil {
		return x.ValueOf
	}
	return 0
}

// 礼包规则
type PushGiftRule struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	DailyLimit int32 `protobuf:"zigzag32,1,opt,name=daily_limit,json=dailyLimit,proto3" json:"daily_limit,omitempty"` // 每日弹出上限
	ShowLimit  int32 `protobuf:"zigzag32,2,opt,name=show_limit,json=showLimit,proto3" json:"show_limit,omitempty"`    // 同时弹出上限
}

func (x *PushGiftRule) Reset() {
	*x = PushGiftRule{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_cross_push_gift_proto_msgTypes[9]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PushGiftRule) ProtoMessage() {}

func (x *PushGiftRule) ProtoReflect() protoreflect.Message {
	mi := &file_service_cross_push_gift_proto_msgTypes[9]
	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 PushGiftRule.ProtoReflect.Descriptor instead.
func (*PushGiftRule) Descriptor() ([]byte, []int) {
	return file_service_cross_push_gift_proto_rawDescGZIP(), []int{9}
}

func (x *PushGiftRule) GetDailyLimit() int32 {
	if x != nil {
		return x.DailyLimit
	}
	return 0
}

func (x *PushGiftRule) GetShowLimit() int32 {
	if x != nil {
		return x.ShowLimit
	}
	return 0
}

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

	ServerPoints map[int32]*PushGiftPointIdList `protobuf:"bytes,1,rep,name=server_points,json=serverPoints,proto3" json:"server_points,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // key=ServerId
	Gifts        []*PushGiftConfig              `protobuf:"bytes,2,rep,name=gifts,proto3" json:"gifts,omitempty"`                                                                                                                              // 点位礼包配置
	PointConfigs map[int32]*PushGiftPointConfig `protobuf:"bytes,3,rep,name=point_configs,json=pointConfigs,proto3" json:"point_configs,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // key=PointId 点位id
}

func (x *PushGiftGetPointsResponse_Data) Reset() {
	*x = PushGiftGetPointsResponse_Data{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_cross_push_gift_proto_msgTypes[10]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PushGiftGetPointsResponse_Data) ProtoMessage() {}

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

func (x *PushGiftGetPointsResponse_Data) GetServerPoints() map[int32]*PushGiftPointIdList {
	if x != nil {
		return x.ServerPoints
	}
	return nil
}

func (x *PushGiftGetPointsResponse_Data) GetGifts() []*PushGiftConfig {
	if x != nil {
		return x.Gifts
	}
	return nil
}

func (x *PushGiftGetPointsResponse_Data) GetPointConfigs() map[int32]*PushGiftPointConfig {
	if x != nil {
		return x.PointConfigs
	}
	return nil
}

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

	Rules map[int32]*PushGiftRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // key=ServerId
}

func (x *PushGiftGetPushGiftRuleResponse_Data) Reset() {
	*x = PushGiftGetPushGiftRuleResponse_Data{}
	if protoimpl.UnsafeEnabled {
		mi := &file_service_cross_push_gift_proto_msgTypes[13]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PushGiftGetPushGiftRuleResponse_Data) ProtoMessage() {}

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

func (x *PushGiftGetPushGiftRuleResponse_Data) GetRules() map[int32]*PushGiftRule {
	if x != nil {
		return x.Rules
	}
	return nil
}

var File_service_cross_push_gift_proto protoreflect.FileDescriptor

var file_service_cross_push_gift_proto_rawDesc = []byte{
	0x0a, 0x1d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f,
	0x70, 0x75, 0x73, 0x68, 0x5f, 0x67, 0x69, 0x66, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
	0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x67, 0x61,
	0x6d, 0x65, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
	0x39, 0x0a, 0x18, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x47, 0x65, 0x74, 0x50, 0x6f,
	0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73,
	0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x11, 0x52,
	0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0xaa, 0x04, 0x0a, 0x19, 0x50,
	0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73,
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04,
	0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f,
	0x12, 0x39, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x47,
	0x65, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
	0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0xa9, 0x03, 0x0a, 0x04,
	0x44, 0x61, 0x74, 0x61, 0x12, 0x5c, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x70,
	0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x47, 0x65, 0x74, 0x50,
	0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x61,
	0x74, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x45,
	0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e,
	0x74, 0x73, 0x12, 0x2b, 0x0a, 0x05, 0x67, 0x69, 0x66, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
	0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69,
	0x66, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x67, 0x69, 0x66, 0x74, 0x73, 0x12,
	0x5c, 0x0a, 0x0d, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
	0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50,
	0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73,
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x6f,
	0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
	0x0c, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x1a, 0x5b, 0x0a,
	0x11, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74,
	0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52,
	0x03, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68,
	0x47, 0x69, 0x66, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52,
	0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5b, 0x0a, 0x11, 0x50, 0x6f,
	0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
	0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x03, 0x6b, 0x65,
	0x79, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
	0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66,
	0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61,
	0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3f, 0x0a, 0x1e, 0x50, 0x75, 0x73, 0x68, 0x47,
	0x69, 0x66, 0x74, 0x47, 0x65, 0x74, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x52, 0x75,
	0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x72,
	0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x11, 0x52, 0x09, 0x73,
	0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0xb0, 0x02, 0x0a, 0x1f, 0x50, 0x75, 0x73,
	0x68, 0x47, 0x69, 0x66, 0x74, 0x47, 0x65, 0x74, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74,
	0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04,
	0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
	0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
	0x69, 0x6e, 0x66, 0x6f, 0x12, 0x3f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
	0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47,
	0x69, 0x66, 0x74, 0x47, 0x65, 0x74, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x52, 0x75,
	0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52,
	0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0xa3, 0x01, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x4c,
	0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x47, 0x65,
	0x74, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73,
	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x73,
	0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x1a, 0x4d, 0x0a, 0x0a,
	0x52, 0x75, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
	0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05,
	0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x52, 0x75, 0x6c, 0x65,
	0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x30, 0x0a, 0x13, 0x50,
	0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x4c, 0x69,
	0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
	0x20, 0x03, 0x28, 0x11, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xec, 0x01,
	0x0a, 0x13, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x43,
	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69,
	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64,
	0x12, 0x23, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x61, 0x62, 0x6c,
	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x52, 0x65, 0x70, 0x65, 0x61,
	0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
	0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
	0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x43,
	0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74,
	0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79,
	0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79,
	0x12, 0x1b, 0x0a, 0x09, 0x67, 0x69, 0x66, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20,
	0x01, 0x28, 0x11, 0x52, 0x08, 0x67, 0x69, 0x66, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a,
	0x0a, 0x67, 0x69, 0x66, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28,
	0x11, 0x52, 0x09, 0x67, 0x69, 0x66, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x5f, 0x0a, 0x16,
	0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e,
	0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74,
	0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f,
	0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6f, 0x18,
	0x02, 0x20, 0x01, 0x28, 0x11, 0x52, 0x02, 0x6e, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67,
	0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x22, 0x88, 0x01,
	0x0a, 0x0e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
	0x12, 0x1b, 0x0a, 0x09, 0x67, 0x69, 0x66, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
	0x01, 0x28, 0x11, 0x52, 0x08, 0x67, 0x69, 0x66, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a,
	0x0a, 0x67, 0x69, 0x66, 0x74, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
	0x09, 0x52, 0x09, 0x67, 0x69, 0x66, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x3a, 0x0a, 0x0a,
	0x67, 0x69, 0x66, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
	0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66,
	0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x67, 0x69,
	0x66, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x22, 0xf2, 0x01, 0x0a, 0x13, 0x50, 0x75, 0x73,
	0x68, 0x47, 0x69, 0x66, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
	0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x69, 0x66, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x11, 0x52, 0x09, 0x67, 0x69, 0x66, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12,
	0x1e, 0x0a, 0x0b, 0x70, 0x61, 0x79, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02,
	0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12,
	0x30, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
	0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x4f, 0x62, 0x6a,
	0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
	0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6c, 0x6f, 0x67, 0x61, 0x6e, 0x5f, 0x6e, 0x6f, 0x73, 0x18,
	0x04, 0x20, 0x03, 0x28, 0x11, 0x52, 0x09, 0x73, 0x6c, 0x6f, 0x67, 0x61, 0x6e, 0x4e, 0x6f, 0x73,
	0x12, 0x19, 0x0a, 0x08, 0x6e, 0x70, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01,
	0x28, 0x11, 0x52, 0x07, 0x6e, 0x70, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6e,
	0x70, 0x63, 0x5f, 0x6e, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6e, 0x70, 0x63,
	0x4e, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6f, 0x66, 0x18, 0x07,
	0x20, 0x01, 0x28, 0x11, 0x52, 0x07, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x66, 0x22, 0x4e, 0x0a,
	0x0c, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x1f, 0x0a,
	0x0b, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x11, 0x52, 0x0a, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d,
	0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01,
	0x28, 0x11, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x32, 0xc1, 0x01,
	0x0a, 0x0d, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x12,
	0x4e, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x47, 0x65, 0x74,
	0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x47, 0x65,
	0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
	0x60, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x52, 0x75,
	0x6c, 0x65, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47,
	0x69, 0x66, 0x74, 0x47, 0x65, 0x74, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x52, 0x75,
	0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74,
	0x6f, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x47, 0x69, 0x66, 0x74, 0x47, 0x65, 0x74, 0x50, 0x75, 0x73,
	0x68, 0x47, 0x69, 0x66, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x42, 0x25, 0x5a, 0x23, 0x76, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x61, 0x72, 0x2f, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69,
	0x63, 0x65, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_service_cross_push_gift_proto_rawDescOnce sync.Once
	file_service_cross_push_gift_proto_rawDescData = file_service_cross_push_gift_proto_rawDesc
)

func file_service_cross_push_gift_proto_rawDescGZIP() []byte {
	file_service_cross_push_gift_proto_rawDescOnce.Do(func() {
		file_service_cross_push_gift_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_cross_push_gift_proto_rawDescData)
	})
	return file_service_cross_push_gift_proto_rawDescData
}

var file_service_cross_push_gift_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
var file_service_cross_push_gift_proto_goTypes = []interface{}{
	(*PushGiftGetPointsRequest)(nil),             // 0: proto.PushGiftGetPointsRequest
	(*PushGiftGetPointsResponse)(nil),            // 1: proto.PushGiftGetPointsResponse
	(*PushGiftGetPushGiftRuleRequest)(nil),       // 2: proto.PushGiftGetPushGiftRuleRequest
	(*PushGiftGetPushGiftRuleResponse)(nil),      // 3: proto.PushGiftGetPushGiftRuleResponse
	(*PushGiftPointIdList)(nil),                  // 4: proto.PushGiftPointIdList
	(*PushGiftPointConfig)(nil),                  // 5: proto.PushGiftPointConfig
	(*PushGiftPointCondition)(nil),               // 6: proto.PushGiftPointCondition
	(*PushGiftConfig)(nil),                       // 7: proto.PushGiftConfig
	(*PushGiftLevelConfig)(nil),                  // 8: proto.PushGiftLevelConfig
	(*PushGiftRule)(nil),                         // 9: proto.PushGiftRule
	(*PushGiftGetPointsResponse_Data)(nil),       // 10: proto.PushGiftGetPointsResponse.Data
	nil,                                          // 11: proto.PushGiftGetPointsResponse.Data.ServerPointsEntry
	nil,                                          // 12: proto.PushGiftGetPointsResponse.Data.PointConfigsEntry
	(*PushGiftGetPushGiftRuleResponse_Data)(nil), // 13: proto.PushGiftGetPushGiftRuleResponse.Data
	nil,                           // 14: proto.PushGiftGetPushGiftRuleResponse.Data.RulesEntry
	(*model.GameObjectCount)(nil), // 15: proto.GameObjectCount
}
var file_service_cross_push_gift_proto_depIdxs = []int32{
	10, // 0: proto.PushGiftGetPointsResponse.data:type_name -> proto.PushGiftGetPointsResponse.Data
	13, // 1: proto.PushGiftGetPushGiftRuleResponse.data:type_name -> proto.PushGiftGetPushGiftRuleResponse.Data
	6,  // 2: proto.PushGiftPointConfig.conditions:type_name -> proto.PushGiftPointCondition
	8,  // 3: proto.PushGiftConfig.giftLevels:type_name -> proto.PushGiftLevelConfig
	15, // 4: proto.PushGiftLevelConfig.content:type_name -> proto.GameObjectCount
	11, // 5: proto.PushGiftGetPointsResponse.Data.server_points:type_name -> proto.PushGiftGetPointsResponse.Data.ServerPointsEntry
	7,  // 6: proto.PushGiftGetPointsResponse.Data.gifts:type_name -> proto.PushGiftConfig
	12, // 7: proto.PushGiftGetPointsResponse.Data.point_configs:type_name -> proto.PushGiftGetPointsResponse.Data.PointConfigsEntry
	4,  // 8: proto.PushGiftGetPointsResponse.Data.ServerPointsEntry.value:type_name -> proto.PushGiftPointIdList
	5,  // 9: proto.PushGiftGetPointsResponse.Data.PointConfigsEntry.value:type_name -> proto.PushGiftPointConfig
	14, // 10: proto.PushGiftGetPushGiftRuleResponse.Data.rules:type_name -> proto.PushGiftGetPushGiftRuleResponse.Data.RulesEntry
	9,  // 11: proto.PushGiftGetPushGiftRuleResponse.Data.RulesEntry.value:type_name -> proto.PushGiftRule
	0,  // 12: proto.PushGiftCross.GetPoints:input_type -> proto.PushGiftGetPointsRequest
	2,  // 13: proto.PushGiftCross.GetPushGiftRule:input_type -> proto.PushGiftGetPushGiftRuleRequest
	1,  // 14: proto.PushGiftCross.GetPoints:output_type -> proto.PushGiftGetPointsResponse
	3,  // 15: proto.PushGiftCross.GetPushGiftRule:output_type -> proto.PushGiftGetPushGiftRuleResponse
	14, // [14:16] is the sub-list for method output_type
	12, // [12:14] is the sub-list for method input_type
	12, // [12:12] is the sub-list for extension type_name
	12, // [12:12] is the sub-list for extension extendee
	0,  // [0:12] is the sub-list for field type_name
}

func init() { file_service_cross_push_gift_proto_init() }
func file_service_cross_push_gift_proto_init() {
	if File_service_cross_push_gift_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_service_cross_push_gift_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftGetPointsRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_cross_push_gift_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftGetPointsResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_cross_push_gift_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftGetPushGiftRuleRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_cross_push_gift_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftGetPushGiftRuleResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_cross_push_gift_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftPointIdList); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_cross_push_gift_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftPointConfig); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_cross_push_gift_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftPointCondition); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_cross_push_gift_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftConfig); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_cross_push_gift_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftLevelConfig); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_cross_push_gift_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftRule); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_cross_push_gift_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftGetPointsResponse_Data); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_service_cross_push_gift_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushGiftGetPushGiftRuleResponse_Data); 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_service_cross_push_gift_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   15,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_service_cross_push_gift_proto_goTypes,
		DependencyIndexes: file_service_cross_push_gift_proto_depIdxs,
		MessageInfos:      file_service_cross_push_gift_proto_msgTypes,
	}.Build()
	File_service_cross_push_gift_proto = out.File
	file_service_cross_push_gift_proto_rawDesc = nil
	file_service_cross_push_gift_proto_goTypes = nil
	file_service_cross_push_gift_proto_depIdxs = nil
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6

// PushGiftCrossClient is the client API for PushGiftCross service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type PushGiftCrossClient interface {
	// 获取点位数据
	GetPoints(ctx context.Context, in *PushGiftGetPointsRequest, opts ...grpc.CallOption) (*PushGiftGetPointsResponse, error)
	// 获取礼包规则
	GetPushGiftRule(ctx context.Context, in *PushGiftGetPushGiftRuleRequest, opts ...grpc.CallOption) (*PushGiftGetPushGiftRuleResponse, error)
}

type pushGiftCrossClient struct {
	cc grpc.ClientConnInterface
}

func NewPushGiftCrossClient(cc grpc.ClientConnInterface) PushGiftCrossClient {
	return &pushGiftCrossClient{cc}
}

func (c *pushGiftCrossClient) GetPoints(ctx context.Context, in *PushGiftGetPointsRequest, opts ...grpc.CallOption) (*PushGiftGetPointsResponse, error) {
	out := new(PushGiftGetPointsResponse)
	err := c.cc.Invoke(ctx, "/proto.PushGiftCross/GetPoints", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *pushGiftCrossClient) GetPushGiftRule(ctx context.Context, in *PushGiftGetPushGiftRuleRequest, opts ...grpc.CallOption) (*PushGiftGetPushGiftRuleResponse, error) {
	out := new(PushGiftGetPushGiftRuleResponse)
	err := c.cc.Invoke(ctx, "/proto.PushGiftCross/GetPushGiftRule", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// PushGiftCrossServer is the server API for PushGiftCross service.
type PushGiftCrossServer interface {
	// 获取点位数据
	GetPoints(context.Context, *PushGiftGetPointsRequest) (*PushGiftGetPointsResponse, error)
	// 获取礼包规则
	GetPushGiftRule(context.Context, *PushGiftGetPushGiftRuleRequest) (*PushGiftGetPushGiftRuleResponse, error)
}

// UnimplementedPushGiftCrossServer can be embedded to have forward compatible implementations.
type UnimplementedPushGiftCrossServer struct {
}

func (*UnimplementedPushGiftCrossServer) GetPoints(context.Context, *PushGiftGetPointsRequest) (*PushGiftGetPointsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetPoints not implemented")
}
func (*UnimplementedPushGiftCrossServer) GetPushGiftRule(context.Context, *PushGiftGetPushGiftRuleRequest) (*PushGiftGetPushGiftRuleResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetPushGiftRule not implemented")
}

func RegisterPushGiftCrossServer(s *grpc.Server, srv PushGiftCrossServer) {
	s.RegisterService(&_PushGiftCross_serviceDesc, srv)
}

func _PushGiftCross_GetPoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(PushGiftGetPointsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(PushGiftCrossServer).GetPoints(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.PushGiftCross/GetPoints",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(PushGiftCrossServer).GetPoints(ctx, req.(*PushGiftGetPointsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _PushGiftCross_GetPushGiftRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(PushGiftGetPushGiftRuleRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(PushGiftCrossServer).GetPushGiftRule(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.PushGiftCross/GetPushGiftRule",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(PushGiftCrossServer).GetPushGiftRule(ctx, req.(*PushGiftGetPushGiftRuleRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _PushGiftCross_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.PushGiftCross",
	HandlerType: (*PushGiftCrossServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPoints",
			Handler:    _PushGiftCross_GetPoints_Handler,
		},
		{
			MethodName: "GetPushGiftRule",
			Handler:    _PushGiftCross_GetPushGiftRule_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_push_gift.proto",
}
