// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.5
// source: waGroupHistory/WAWebProtobufsGroupHistory.proto

package waGroupHistory

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"

	waCommon "go.mau.fi/whatsmeow/proto/waCommon"
	waE2E "go.mau.fi/whatsmeow/proto/waE2E"
	waWeb "go.mau.fi/whatsmeow/proto/waWeb"
)

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 GroupHistory struct {
	state                           protoimpl.MessageState            `protogen:"open.v1"`
	Messages                        []*waWeb.WebMessageInfo           `protobuf:"bytes,1,rep,name=messages" json:"messages,omitempty"`
	UncountedAssociatedMessageLists []*UnCountedAssociatedMessageList `protobuf:"bytes,2,rep,name=uncountedAssociatedMessageLists" json:"uncountedAssociatedMessageLists,omitempty"`
	CommentMessages                 []*waWeb.WebMessageInfo           `protobuf:"bytes,3,rep,name=commentMessages" json:"commentMessages,omitempty"`
	unknownFields                   protoimpl.UnknownFields
	sizeCache                       protoimpl.SizeCache
}

func (x *GroupHistory) Reset() {
	*x = GroupHistory{}
	mi := &file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GroupHistory) ProtoMessage() {}

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

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

func (x *GroupHistory) GetMessages() []*waWeb.WebMessageInfo {
	if x != nil {
		return x.Messages
	}
	return nil
}

func (x *GroupHistory) GetUncountedAssociatedMessageLists() []*UnCountedAssociatedMessageList {
	if x != nil {
		return x.UncountedAssociatedMessageLists
	}
	return nil
}

func (x *GroupHistory) GetCommentMessages() []*waWeb.WebMessageInfo {
	if x != nil {
		return x.CommentMessages
	}
	return nil
}

type UnCountedAssociatedMessageList struct {
	state           protoimpl.MessageState                    `protogen:"open.v1"`
	Messages        []*waWeb.WebMessageInfo                   `protobuf:"bytes,1,rep,name=messages" json:"messages,omitempty"`
	ParentMessage   *waCommon.MessageKey                      `protobuf:"bytes,2,opt,name=parentMessage" json:"parentMessage,omitempty"`
	AssociationType *waE2E.MessageAssociation_AssociationType `protobuf:"varint,3,opt,name=associationType,enum=WAWebProtobufsE2E.MessageAssociation_AssociationType" json:"associationType,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *UnCountedAssociatedMessageList) Reset() {
	*x = UnCountedAssociatedMessageList{}
	mi := &file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UnCountedAssociatedMessageList) ProtoMessage() {}

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

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

func (x *UnCountedAssociatedMessageList) GetMessages() []*waWeb.WebMessageInfo {
	if x != nil {
		return x.Messages
	}
	return nil
}

func (x *UnCountedAssociatedMessageList) GetParentMessage() *waCommon.MessageKey {
	if x != nil {
		return x.ParentMessage
	}
	return nil
}

func (x *UnCountedAssociatedMessageList) GetAssociationType() waE2E.MessageAssociation_AssociationType {
	if x != nil && x.AssociationType != nil {
		return *x.AssociationType
	}
	return waE2E.MessageAssociation_AssociationType(0)
}

type WebMessageInfoWithMessageBytes struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Key           *waCommon.MessageKey   `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	MessageBytes  []byte                 `protobuf:"bytes,2,opt,name=messageBytes" json:"messageBytes,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *WebMessageInfoWithMessageBytes) Reset() {
	*x = WebMessageInfoWithMessageBytes{}
	mi := &file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*WebMessageInfoWithMessageBytes) ProtoMessage() {}

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

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

func (x *WebMessageInfoWithMessageBytes) GetKey() *waCommon.MessageKey {
	if x != nil {
		return x.Key
	}
	return nil
}

func (x *WebMessageInfoWithMessageBytes) GetMessageBytes() []byte {
	if x != nil {
		return x.MessageBytes
	}
	return nil
}

type UnCountedAssociatedMessageListWithMessageBytes struct {
	state         protoimpl.MessageState            `protogen:"open.v1"`
	Messages      []*WebMessageInfoWithMessageBytes `protobuf:"bytes,1,rep,name=messages" json:"messages,omitempty"`
	ParentMessage *waCommon.MessageKey              `protobuf:"bytes,2,opt,name=parentMessage" json:"parentMessage,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UnCountedAssociatedMessageListWithMessageBytes) Reset() {
	*x = UnCountedAssociatedMessageListWithMessageBytes{}
	mi := &file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UnCountedAssociatedMessageListWithMessageBytes) ProtoMessage() {}

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

// Deprecated: Use UnCountedAssociatedMessageListWithMessageBytes.ProtoReflect.Descriptor instead.
func (*UnCountedAssociatedMessageListWithMessageBytes) Descriptor() ([]byte, []int) {
	return file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescGZIP(), []int{3}
}

func (x *UnCountedAssociatedMessageListWithMessageBytes) GetMessages() []*WebMessageInfoWithMessageBytes {
	if x != nil {
		return x.Messages
	}
	return nil
}

func (x *UnCountedAssociatedMessageListWithMessageBytes) GetParentMessage() *waCommon.MessageKey {
	if x != nil {
		return x.ParentMessage
	}
	return nil
}

type GroupHistoryWithMessageBytes struct {
	state                           protoimpl.MessageState                            `protogen:"open.v1"`
	Messages                        []*WebMessageInfoWithMessageBytes                 `protobuf:"bytes,1,rep,name=messages" json:"messages,omitempty"`
	UncountedAssociatedMessageLists []*UnCountedAssociatedMessageListWithMessageBytes `protobuf:"bytes,2,rep,name=uncountedAssociatedMessageLists" json:"uncountedAssociatedMessageLists,omitempty"`
	CommentMessages                 []*WebMessageInfoWithMessageBytes                 `protobuf:"bytes,3,rep,name=commentMessages" json:"commentMessages,omitempty"`
	unknownFields                   protoimpl.UnknownFields
	sizeCache                       protoimpl.SizeCache
}

func (x *GroupHistoryWithMessageBytes) Reset() {
	*x = GroupHistoryWithMessageBytes{}
	mi := &file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GroupHistoryWithMessageBytes) ProtoMessage() {}

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

// Deprecated: Use GroupHistoryWithMessageBytes.ProtoReflect.Descriptor instead.
func (*GroupHistoryWithMessageBytes) Descriptor() ([]byte, []int) {
	return file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescGZIP(), []int{4}
}

func (x *GroupHistoryWithMessageBytes) GetMessages() []*WebMessageInfoWithMessageBytes {
	if x != nil {
		return x.Messages
	}
	return nil
}

func (x *GroupHistoryWithMessageBytes) GetUncountedAssociatedMessageLists() []*UnCountedAssociatedMessageListWithMessageBytes {
	if x != nil {
		return x.UncountedAssociatedMessageLists
	}
	return nil
}

func (x *GroupHistoryWithMessageBytes) GetCommentMessages() []*WebMessageInfoWithMessageBytes {
	if x != nil {
		return x.CommentMessages
	}
	return nil
}

var File_waGroupHistory_WAWebProtobufsGroupHistory_proto protoreflect.FileDescriptor

const file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDesc = "" +
	"\n" +
	"/waGroupHistory/WAWebProtobufsGroupHistory.proto\x12\x1aWAWebProtobufsGroupHistory\x1a\x1dwaE2E/WAWebProtobufsE2E.proto\x1a\x17waCommon/WACommon.proto\x1a\x1dwaWeb/WAWebProtobufsWeb.proto\"\xa1\x02\n" +
	"\fGroupHistory\x12=\n" +
	"\bmessages\x18\x01 \x03(\v2!.WAWebProtobufsWeb.WebMessageInfoR\bmessages\x12\x84\x01\n" +
	"\x1funcountedAssociatedMessageLists\x18\x02 \x03(\v2:.WAWebProtobufsGroupHistory.UnCountedAssociatedMessageListR\x1funcountedAssociatedMessageLists\x12K\n" +
	"\x0fcommentMessages\x18\x03 \x03(\v2!.WAWebProtobufsWeb.WebMessageInfoR\x0fcommentMessages\"\xfc\x01\n" +
	"\x1eUnCountedAssociatedMessageList\x12=\n" +
	"\bmessages\x18\x01 \x03(\v2!.WAWebProtobufsWeb.WebMessageInfoR\bmessages\x12:\n" +
	"\rparentMessage\x18\x02 \x01(\v2\x14.WACommon.MessageKeyR\rparentMessage\x12_\n" +
	"\x0fassociationType\x18\x03 \x01(\x0e25.WAWebProtobufsE2E.MessageAssociation.AssociationTypeR\x0fassociationType\"l\n" +
	"\x1eWebMessageInfoWithMessageBytes\x12&\n" +
	"\x03key\x18\x01 \x01(\v2\x14.WACommon.MessageKeyR\x03key\x12\"\n" +
	"\fmessageBytes\x18\x02 \x01(\fR\fmessageBytes\"\xc4\x01\n" +
	".UnCountedAssociatedMessageListWithMessageBytes\x12V\n" +
	"\bmessages\x18\x01 \x03(\v2:.WAWebProtobufsGroupHistory.WebMessageInfoWithMessageBytesR\bmessages\x12:\n" +
	"\rparentMessage\x18\x02 \x01(\v2\x14.WACommon.MessageKeyR\rparentMessage\"\xf3\x02\n" +
	"\x1cGroupHistoryWithMessageBytes\x12V\n" +
	"\bmessages\x18\x01 \x03(\v2:.WAWebProtobufsGroupHistory.WebMessageInfoWithMessageBytesR\bmessages\x12\x94\x01\n" +
	"\x1funcountedAssociatedMessageLists\x18\x02 \x03(\v2J.WAWebProtobufsGroupHistory.UnCountedAssociatedMessageListWithMessageBytesR\x1funcountedAssociatedMessageLists\x12d\n" +
	"\x0fcommentMessages\x18\x03 \x03(\v2:.WAWebProtobufsGroupHistory.WebMessageInfoWithMessageBytesR\x0fcommentMessagesB*Z(go.mau.fi/whatsmeow/proto/waGroupHistory"

var (
	file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescOnce sync.Once
	file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescData []byte
)

func file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescGZIP() []byte {
	file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescOnce.Do(func() {
		file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDesc), len(file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDesc)))
	})
	return file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescData
}

var file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_waGroupHistory_WAWebProtobufsGroupHistory_proto_goTypes = []any{
	(*GroupHistory)(nil),                                   // 0: WAWebProtobufsGroupHistory.GroupHistory
	(*UnCountedAssociatedMessageList)(nil),                 // 1: WAWebProtobufsGroupHistory.UnCountedAssociatedMessageList
	(*WebMessageInfoWithMessageBytes)(nil),                 // 2: WAWebProtobufsGroupHistory.WebMessageInfoWithMessageBytes
	(*UnCountedAssociatedMessageListWithMessageBytes)(nil), // 3: WAWebProtobufsGroupHistory.UnCountedAssociatedMessageListWithMessageBytes
	(*GroupHistoryWithMessageBytes)(nil),                   // 4: WAWebProtobufsGroupHistory.GroupHistoryWithMessageBytes
	(*waWeb.WebMessageInfo)(nil),                           // 5: WAWebProtobufsWeb.WebMessageInfo
	(*waCommon.MessageKey)(nil),                            // 6: WACommon.MessageKey
	(waE2E.MessageAssociation_AssociationType)(0),          // 7: WAWebProtobufsE2E.MessageAssociation.AssociationType
}
var file_waGroupHistory_WAWebProtobufsGroupHistory_proto_depIdxs = []int32{
	5,  // 0: WAWebProtobufsGroupHistory.GroupHistory.messages:type_name -> WAWebProtobufsWeb.WebMessageInfo
	1,  // 1: WAWebProtobufsGroupHistory.GroupHistory.uncountedAssociatedMessageLists:type_name -> WAWebProtobufsGroupHistory.UnCountedAssociatedMessageList
	5,  // 2: WAWebProtobufsGroupHistory.GroupHistory.commentMessages:type_name -> WAWebProtobufsWeb.WebMessageInfo
	5,  // 3: WAWebProtobufsGroupHistory.UnCountedAssociatedMessageList.messages:type_name -> WAWebProtobufsWeb.WebMessageInfo
	6,  // 4: WAWebProtobufsGroupHistory.UnCountedAssociatedMessageList.parentMessage:type_name -> WACommon.MessageKey
	7,  // 5: WAWebProtobufsGroupHistory.UnCountedAssociatedMessageList.associationType:type_name -> WAWebProtobufsE2E.MessageAssociation.AssociationType
	6,  // 6: WAWebProtobufsGroupHistory.WebMessageInfoWithMessageBytes.key:type_name -> WACommon.MessageKey
	2,  // 7: WAWebProtobufsGroupHistory.UnCountedAssociatedMessageListWithMessageBytes.messages:type_name -> WAWebProtobufsGroupHistory.WebMessageInfoWithMessageBytes
	6,  // 8: WAWebProtobufsGroupHistory.UnCountedAssociatedMessageListWithMessageBytes.parentMessage:type_name -> WACommon.MessageKey
	2,  // 9: WAWebProtobufsGroupHistory.GroupHistoryWithMessageBytes.messages:type_name -> WAWebProtobufsGroupHistory.WebMessageInfoWithMessageBytes
	3,  // 10: WAWebProtobufsGroupHistory.GroupHistoryWithMessageBytes.uncountedAssociatedMessageLists:type_name -> WAWebProtobufsGroupHistory.UnCountedAssociatedMessageListWithMessageBytes
	2,  // 11: WAWebProtobufsGroupHistory.GroupHistoryWithMessageBytes.commentMessages:type_name -> WAWebProtobufsGroupHistory.WebMessageInfoWithMessageBytes
	12, // [12:12] is the sub-list for method output_type
	12, // [12:12] 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_waGroupHistory_WAWebProtobufsGroupHistory_proto_init() }
func file_waGroupHistory_WAWebProtobufsGroupHistory_proto_init() {
	if File_waGroupHistory_WAWebProtobufsGroupHistory_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDesc), len(file_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_waGroupHistory_WAWebProtobufsGroupHistory_proto_goTypes,
		DependencyIndexes: file_waGroupHistory_WAWebProtobufsGroupHistory_proto_depIdxs,
		MessageInfos:      file_waGroupHistory_WAWebProtobufsGroupHistory_proto_msgTypes,
	}.Build()
	File_waGroupHistory_WAWebProtobufsGroupHistory_proto = out.File
	file_waGroupHistory_WAWebProtobufsGroupHistory_proto_goTypes = nil
	file_waGroupHistory_WAWebProtobufsGroupHistory_proto_depIdxs = nil
}
