// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.33.0
// 	protoc        v3.21.5
// source: push.proto

package improto

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 PushDataType int32

const (
	PushDataType_UserInfo    PushDataType = 0
	PushDataType_UserDevice  PushDataType = 1
	PushDataType_UserFriend  PushDataType = 2
	PushDataType_GroupInfo   PushDataType = 3
	PushDataType_GroupMember PushDataType = 4
)

// Enum value maps for PushDataType.
var (
	PushDataType_name = map[int32]string{
		0: "UserInfo",
		1: "UserDevice",
		2: "UserFriend",
		3: "GroupInfo",
		4: "GroupMember",
	}
	PushDataType_value = map[string]int32{
		"UserInfo":    0,
		"UserDevice":  1,
		"UserFriend":  2,
		"GroupInfo":   3,
		"GroupMember": 4,
	}
)

func (x PushDataType) Enum() *PushDataType {
	p := new(PushDataType)
	*p = x
	return p
}

func (x PushDataType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PushDataType) Descriptor() protoreflect.EnumDescriptor {
	return file_push_proto_enumTypes[0].Descriptor()
}

func (PushDataType) Type() protoreflect.EnumType {
	return &file_push_proto_enumTypes[0]
}

func (x PushDataType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PushDataType.Descriptor instead.
func (PushDataType) EnumDescriptor() ([]byte, []int) {
	return file_push_proto_rawDescGZIP(), []int{0}
}

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

	DataType      *PushDataType `protobuf:"varint,1,opt,name=dataType,proto3,enum=im_types.PushDataType,oneof" json:"dataType,omitempty"` // 消息ID(代表数据)
	Version       int64         `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`                                    // 数据版本号
	Data          []byte        `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`                                           // 数据内容
	DataKey       string        `protobuf:"bytes,4,opt,name=dataKey,proto3" json:"dataKey,omitempty"`                                     // 数据key
	RecvAddr      string        `protobuf:"bytes,5,opt,name=recvAddr,proto3" json:"recvAddr,omitempty"`                                   // 接收者地址
	RecvMachineId string        `protobuf:"bytes,6,opt,name=recvMachineId,proto3" json:"recvMachineId,omitempty"`                         // 接收者设备ID
	RecvProxyId   string        `protobuf:"bytes,7,opt,name=recvProxyId,proto3" json:"recvProxyId,omitempty"`                             //接收者代理
	RecvAckKey    string        `protobuf:"bytes,8,opt,name=recvAckKey,proto3" json:"recvAckKey,omitempty"`                               // 回执数据确认key
	RecvAckNode   string        `protobuf:"bytes,9,opt,name=recvAckNode,proto3" json:"recvAckNode,omitempty"`                             // 回执节点
	Key           string        `protobuf:"bytes,10,opt,name=key,proto3" json:"key,omitempty"`                                            // 数据key(计算处理节点)
	RepeatCounter int32         `protobuf:"varint,11,opt,name=repeatCounter,proto3" json:"repeatCounter,omitempty"`                       // 发送次数
}

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

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

func (*PushData) ProtoMessage() {}

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

func (x *PushData) GetDataType() PushDataType {
	if x != nil && x.DataType != nil {
		return *x.DataType
	}
	return PushDataType_UserInfo
}

func (x *PushData) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *PushData) GetData() []byte {
	if x != nil {
		return x.Data
	}
	return nil
}

func (x *PushData) GetDataKey() string {
	if x != nil {
		return x.DataKey
	}
	return ""
}

func (x *PushData) GetRecvAddr() string {
	if x != nil {
		return x.RecvAddr
	}
	return ""
}

func (x *PushData) GetRecvMachineId() string {
	if x != nil {
		return x.RecvMachineId
	}
	return ""
}

func (x *PushData) GetRecvProxyId() string {
	if x != nil {
		return x.RecvProxyId
	}
	return ""
}

func (x *PushData) GetRecvAckKey() string {
	if x != nil {
		return x.RecvAckKey
	}
	return ""
}

func (x *PushData) GetRecvAckNode() string {
	if x != nil {
		return x.RecvAckNode
	}
	return ""
}

func (x *PushData) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

func (x *PushData) GetRepeatCounter() int32 {
	if x != nil {
		return x.RepeatCounter
	}
	return 0
}

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

	Key  string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`   // 回执数据ackKey
	Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // 回执处理节点
}

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

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

func (*RecvPushData) ProtoMessage() {}

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

func (x *RecvPushData) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

func (x *RecvPushData) GetNode() string {
	if x != nil {
		return x.Node
	}
	return ""
}

var File_push_proto protoreflect.FileDescriptor

var file_push_proto_rawDesc = []byte{
	0x0a, 0x0a, 0x70, 0x75, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x69, 0x6d,
	0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x22, 0xf6, 0x02, 0x0a, 0x08, 0x70, 0x75, 0x73, 0x68, 0x44,
	0x61, 0x74, 0x61, 0x12, 0x37, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x69, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73,
	0x2e, 0x70, 0x75, 0x73, 0x68, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52,
	0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x12, 0x18, 0x0a, 0x07,
	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76,
	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03,
	0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x61,
	0x74, 0x61, 0x4b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x61, 0x74,
	0x61, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x76, 0x41, 0x64, 0x64, 0x72,
	0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x63, 0x76, 0x41, 0x64, 0x64, 0x72,
	0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x76, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49,
	0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x76, 0x4d, 0x61, 0x63,
	0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x76, 0x50, 0x72,
	0x6f, 0x78, 0x79, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63,
	0x76, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x76,
	0x41, 0x63, 0x6b, 0x4b, 0x65, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65,
	0x63, 0x76, 0x41, 0x63, 0x6b, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x76,
	0x41, 0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72,
	0x65, 0x63, 0x76, 0x41, 0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
	0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x0d,
	0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x0b, 0x20,
	0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74,
	0x65, 0x72, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22,
	0x34, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x76, 0x50, 0x75, 0x73, 0x68, 0x44, 0x61, 0x74, 0x61, 0x12,
	0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
	0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
	0x04, 0x6e, 0x6f, 0x64, 0x65, 0x2a, 0x5c, 0x0a, 0x0c, 0x70, 0x75, 0x73, 0x68, 0x44, 0x61, 0x74,
	0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66,
	0x6f, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e,
	0x64, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f,
	0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65,
	0x72, 0x10, 0x04, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x2f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x74, 0x6f,
	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_push_proto_rawDescOnce sync.Once
	file_push_proto_rawDescData = file_push_proto_rawDesc
)

func file_push_proto_rawDescGZIP() []byte {
	file_push_proto_rawDescOnce.Do(func() {
		file_push_proto_rawDescData = protoimpl.X.CompressGZIP(file_push_proto_rawDescData)
	})
	return file_push_proto_rawDescData
}

var file_push_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_push_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_push_proto_goTypes = []interface{}{
	(PushDataType)(0),    // 0: im_types.pushDataType
	(*PushData)(nil),     // 1: im_types.pushData
	(*RecvPushData)(nil), // 2: im_types.recvPushData
}
var file_push_proto_depIdxs = []int32{
	0, // 0: im_types.pushData.dataType:type_name -> im_types.pushDataType
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_push_proto_init() }
func file_push_proto_init() {
	if File_push_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_push_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PushData); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_push_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RecvPushData); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_push_proto_msgTypes[0].OneofWrappers = []interface{}{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_push_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_push_proto_goTypes,
		DependencyIndexes: file_push_proto_depIdxs,
		EnumInfos:         file_push_proto_enumTypes,
		MessageInfos:      file_push_proto_msgTypes,
	}.Build()
	File_push_proto = out.File
	file_push_proto_rawDesc = nil
	file_push_proto_goTypes = nil
	file_push_proto_depIdxs = nil
}
