// 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/club_tag.proto

package v1

import (
	_ "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 TagAction int32

const (
	TagAction_TAG_ACTION_NONE  TagAction = 0
	TagAction_TAG_ACTION_CLEAR TagAction = 1
	TagAction_TAG_ACTION_SET   TagAction = 2
)

// Enum value maps for TagAction.
var (
	TagAction_name = map[int32]string{
		0: "TAG_ACTION_NONE",
		1: "TAG_ACTION_CLEAR",
		2: "TAG_ACTION_SET",
	}
	TagAction_value = map[string]int32{
		"TAG_ACTION_NONE":  0,
		"TAG_ACTION_CLEAR": 1,
		"TAG_ACTION_SET":   2,
	}
)

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

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

func (TagAction) Descriptor() protoreflect.EnumDescriptor {
	return file_bgs_low_pb_client_club_tag_proto_enumTypes[0].Descriptor()
}

func (TagAction) Type() protoreflect.EnumType {
	return &file_bgs_low_pb_client_club_tag_proto_enumTypes[0]
}

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

// Deprecated: Do not use.
func (x *TagAction) UnmarshalJSON(b []byte) error {
	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
	if err != nil {
		return err
	}
	*x = TagAction(num)
	return nil
}

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

type TagType int32

const (
	TagType_TAG_TYPE_INVALID  TagType = 0
	TagType_TAG_TYPE_PLATFORM TagType = 1
	TagType_TAG_TYPE_CUSTOM   TagType = 2
)

// Enum value maps for TagType.
var (
	TagType_name = map[int32]string{
		0: "TAG_TYPE_INVALID",
		1: "TAG_TYPE_PLATFORM",
		2: "TAG_TYPE_CUSTOM",
	}
	TagType_value = map[string]int32{
		"TAG_TYPE_INVALID":  0,
		"TAG_TYPE_PLATFORM": 1,
		"TAG_TYPE_CUSTOM":   2,
	}
)

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

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

func (TagType) Descriptor() protoreflect.EnumDescriptor {
	return file_bgs_low_pb_client_club_tag_proto_enumTypes[1].Descriptor()
}

func (TagType) Type() protoreflect.EnumType {
	return &file_bgs_low_pb_client_club_tag_proto_enumTypes[1]
}

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

// Deprecated: Do not use.
func (x *TagType) UnmarshalJSON(b []byte) error {
	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
	if err != nil {
		return err
	}
	*x = TagType(num)
	return nil
}

// Deprecated: Use TagType.Descriptor instead.
func (TagType) EnumDescriptor() ([]byte, []int) {
	return file_bgs_low_pb_client_club_tag_proto_rawDescGZIP(), []int{1}
}

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

	Action *uint32          `protobuf:"varint,1,opt,name=action" json:"action,omitempty"`
	Tag    []*TagIdentifier `protobuf:"bytes,2,rep,name=tag" json:"tag,omitempty"`
}

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

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

func (*TagOptions) ProtoMessage() {}

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

func (x *TagOptions) GetAction() uint32 {
	if x != nil && x.Action != nil {
		return *x.Action
	}
	return 0
}

func (x *TagOptions) GetTag() []*TagIdentifier {
	if x != nil {
		return x.Tag
	}
	return nil
}

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

	Id   *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Type *uint32 `protobuf:"varint,2,opt,name=type" json:"type,omitempty"`
}

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

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

func (*TagIdentifier) ProtoMessage() {}

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

func (x *TagIdentifier) GetId() uint32 {
	if x != nil && x.Id != nil {
		return *x.Id
	}
	return 0
}

func (x *TagIdentifier) GetType() uint32 {
	if x != nil && x.Type != nil {
		return *x.Type
	}
	return 0
}

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

	TagId       *TagIdentifier `protobuf:"bytes,1,opt,name=tag_id,json=tagId" json:"tag_id,omitempty"`
	Name        *string        `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Description *string        `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
}

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

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

func (*LocalizedTag) ProtoMessage() {}

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

func (x *LocalizedTag) GetTagId() *TagIdentifier {
	if x != nil {
		return x.TagId
	}
	return nil
}

func (x *LocalizedTag) GetName() string {
	if x != nil && x.Name != nil {
		return *x.Name
	}
	return ""
}

func (x *LocalizedTag) GetDescription() string {
	if x != nil && x.Description != nil {
		return *x.Description
	}
	return ""
}

var File_bgs_low_pb_client_club_tag_proto protoreflect.FileDescriptor

var file_bgs_low_pb_client_club_tag_proto_rawDesc = []byte{
	0x0a, 0x20, 0x62, 0x67, 0x73, 0x2f, 0x6c, 0x6f, 0x77, 0x2f, 0x70, 0x62, 0x2f, 0x63, 0x6c, 0x69,
	0x65, 0x6e, 0x74, 0x2f, 0x63, 0x6c, 0x75, 0x62, 0x5f, 0x74, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x12, 0x14, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
	0x2e, 0x63, 0x6c, 0x75, 0x62, 0x2e, 0x76, 0x31, 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, 0x5b, 0x0a, 0x0a, 0x54,
	0x61, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74,
	0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f,
	0x6e, 0x12, 0x35, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23,
	0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x63, 0x6c,
	0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66,
	0x69, 0x65, 0x72, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 0x33, 0x0a, 0x0d, 0x54, 0x61, 0x67, 0x49,
	0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x80, 0x01,
	0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x54, 0x61, 0x67, 0x12, 0x3a,
	0x0a, 0x06, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23,
	0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x63, 0x6c,
	0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66,
	0x69, 0x65, 0x72, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
	0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20,
	0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
	0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
	0x2a, 0x4a, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a,
	0x0f, 0x54, 0x41, 0x47, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e, 0x45,
	0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x47, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e,
	0x5f, 0x43, 0x4c, 0x45, 0x41, 0x52, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x41, 0x47, 0x5f,
	0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x54, 0x10, 0x02, 0x2a, 0x4b, 0x0a, 0x07,
	0x54, 0x61, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x47, 0x5f, 0x54,
	0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a,
	0x11, 0x54, 0x41, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f,
	0x52, 0x4d, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x41, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45,
	0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x02, 0x42, 0x3d, 0x5a, 0x3b, 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, 0x63, 0x6c, 0x75, 0x62, 0x2f, 0x76, 0x31,
}

var (
	file_bgs_low_pb_client_club_tag_proto_rawDescOnce sync.Once
	file_bgs_low_pb_client_club_tag_proto_rawDescData = file_bgs_low_pb_client_club_tag_proto_rawDesc
)

func file_bgs_low_pb_client_club_tag_proto_rawDescGZIP() []byte {
	file_bgs_low_pb_client_club_tag_proto_rawDescOnce.Do(func() {
		file_bgs_low_pb_client_club_tag_proto_rawDescData = protoimpl.X.CompressGZIP(file_bgs_low_pb_client_club_tag_proto_rawDescData)
	})
	return file_bgs_low_pb_client_club_tag_proto_rawDescData
}

var file_bgs_low_pb_client_club_tag_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_bgs_low_pb_client_club_tag_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_bgs_low_pb_client_club_tag_proto_goTypes = []interface{}{
	(TagAction)(0),        // 0: bgs.protocol.club.v1.TagAction
	(TagType)(0),          // 1: bgs.protocol.club.v1.TagType
	(*TagOptions)(nil),    // 2: bgs.protocol.club.v1.TagOptions
	(*TagIdentifier)(nil), // 3: bgs.protocol.club.v1.TagIdentifier
	(*LocalizedTag)(nil),  // 4: bgs.protocol.club.v1.LocalizedTag
}
var file_bgs_low_pb_client_club_tag_proto_depIdxs = []int32{
	3, // 0: bgs.protocol.club.v1.TagOptions.tag:type_name -> bgs.protocol.club.v1.TagIdentifier
	3, // 1: bgs.protocol.club.v1.LocalizedTag.tag_id:type_name -> bgs.protocol.club.v1.TagIdentifier
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] 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_club_tag_proto_init() }
func file_bgs_low_pb_client_club_tag_proto_init() {
	if File_bgs_low_pb_client_club_tag_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_bgs_low_pb_client_club_tag_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*TagOptions); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_bgs_low_pb_client_club_tag_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*TagIdentifier); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_bgs_low_pb_client_club_tag_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*LocalizedTag); 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_club_tag_proto_rawDesc,
			NumEnums:      2,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_bgs_low_pb_client_club_tag_proto_goTypes,
		DependencyIndexes: file_bgs_low_pb_client_club_tag_proto_depIdxs,
		EnumInfos:         file_bgs_low_pb_client_club_tag_proto_enumTypes,
		MessageInfos:      file_bgs_low_pb_client_club_tag_proto_msgTypes,
	}.Build()
	File_bgs_low_pb_client_club_tag_proto = out.File
	file_bgs_low_pb_client_club_tag_proto_rawDesc = nil
	file_bgs_low_pb_client_club_tag_proto_goTypes = nil
	file_bgs_low_pb_client_club_tag_proto_depIdxs = nil
}
