// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.5
// source: transport/internet/finalmask/noise/config.proto

package noise

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

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 Item struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	RandMin       int64                  `protobuf:"varint,1,opt,name=rand_min,json=randMin,proto3" json:"rand_min,omitempty"`
	RandMax       int64                  `protobuf:"varint,2,opt,name=rand_max,json=randMax,proto3" json:"rand_max,omitempty"`
	RandRangeMin  int32                  `protobuf:"varint,3,opt,name=rand_range_min,json=randRangeMin,proto3" json:"rand_range_min,omitempty"`
	RandRangeMax  int32                  `protobuf:"varint,4,opt,name=rand_range_max,json=randRangeMax,proto3" json:"rand_range_max,omitempty"`
	Packet        []byte                 `protobuf:"bytes,5,opt,name=packet,proto3" json:"packet,omitempty"`
	DelayMin      int64                  `protobuf:"varint,6,opt,name=delay_min,json=delayMin,proto3" json:"delay_min,omitempty"`
	DelayMax      int64                  `protobuf:"varint,7,opt,name=delay_max,json=delayMax,proto3" json:"delay_max,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Item) ProtoMessage() {}

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

func (x *Item) GetRandMin() int64 {
	if x != nil {
		return x.RandMin
	}
	return 0
}

func (x *Item) GetRandMax() int64 {
	if x != nil {
		return x.RandMax
	}
	return 0
}

func (x *Item) GetRandRangeMin() int32 {
	if x != nil {
		return x.RandRangeMin
	}
	return 0
}

func (x *Item) GetRandRangeMax() int32 {
	if x != nil {
		return x.RandRangeMax
	}
	return 0
}

func (x *Item) GetPacket() []byte {
	if x != nil {
		return x.Packet
	}
	return nil
}

func (x *Item) GetDelayMin() int64 {
	if x != nil {
		return x.DelayMin
	}
	return 0
}

func (x *Item) GetDelayMax() int64 {
	if x != nil {
		return x.DelayMax
	}
	return 0
}

type Config struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ResetMin      int64                  `protobuf:"varint,1,opt,name=reset_min,json=resetMin,proto3" json:"reset_min,omitempty"`
	ResetMax      int64                  `protobuf:"varint,2,opt,name=reset_max,json=resetMax,proto3" json:"reset_max,omitempty"`
	Items         []*Item                `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Config) ProtoMessage() {}

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

func (x *Config) GetResetMin() int64 {
	if x != nil {
		return x.ResetMin
	}
	return 0
}

func (x *Config) GetResetMax() int64 {
	if x != nil {
		return x.ResetMax
	}
	return 0
}

func (x *Config) GetItems() []*Item {
	if x != nil {
		return x.Items
	}
	return nil
}

var File_transport_internet_finalmask_noise_config_proto protoreflect.FileDescriptor

const file_transport_internet_finalmask_noise_config_proto_rawDesc = "" +
	"\n" +
	"/transport/internet/finalmask/noise/config.proto\x12'xray.transport.internet.finalmask.noise\"\xda\x01\n" +
	"\x04Item\x12\x19\n" +
	"\brand_min\x18\x01 \x01(\x03R\arandMin\x12\x19\n" +
	"\brand_max\x18\x02 \x01(\x03R\arandMax\x12$\n" +
	"\x0erand_range_min\x18\x03 \x01(\x05R\frandRangeMin\x12$\n" +
	"\x0erand_range_max\x18\x04 \x01(\x05R\frandRangeMax\x12\x16\n" +
	"\x06packet\x18\x05 \x01(\fR\x06packet\x12\x1b\n" +
	"\tdelay_min\x18\x06 \x01(\x03R\bdelayMin\x12\x1b\n" +
	"\tdelay_max\x18\a \x01(\x03R\bdelayMax\"\x87\x01\n" +
	"\x06Config\x12\x1b\n" +
	"\treset_min\x18\x01 \x01(\x03R\bresetMin\x12\x1b\n" +
	"\treset_max\x18\x02 \x01(\x03R\bresetMax\x12C\n" +
	"\x05items\x18\x03 \x03(\v2-.xray.transport.internet.finalmask.noise.ItemR\x05itemsB\x97\x01\n" +
	"+com.xray.transport.internet.finalmask.noiseP\x01Z<github.com/xtls/xray-core/transport/internet/finalmask/noise\xaa\x02'Xray.Transport.Internet.Finalmask.Noiseb\x06proto3"

var (
	file_transport_internet_finalmask_noise_config_proto_rawDescOnce sync.Once
	file_transport_internet_finalmask_noise_config_proto_rawDescData []byte
)

func file_transport_internet_finalmask_noise_config_proto_rawDescGZIP() []byte {
	file_transport_internet_finalmask_noise_config_proto_rawDescOnce.Do(func() {
		file_transport_internet_finalmask_noise_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_transport_internet_finalmask_noise_config_proto_rawDesc), len(file_transport_internet_finalmask_noise_config_proto_rawDesc)))
	})
	return file_transport_internet_finalmask_noise_config_proto_rawDescData
}

var file_transport_internet_finalmask_noise_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_transport_internet_finalmask_noise_config_proto_goTypes = []any{
	(*Item)(nil),   // 0: xray.transport.internet.finalmask.noise.Item
	(*Config)(nil), // 1: xray.transport.internet.finalmask.noise.Config
}
var file_transport_internet_finalmask_noise_config_proto_depIdxs = []int32{
	0, // 0: xray.transport.internet.finalmask.noise.Config.items:type_name -> xray.transport.internet.finalmask.noise.Item
	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_transport_internet_finalmask_noise_config_proto_init() }
func file_transport_internet_finalmask_noise_config_proto_init() {
	if File_transport_internet_finalmask_noise_config_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_transport_internet_finalmask_noise_config_proto_rawDesc), len(file_transport_internet_finalmask_noise_config_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_transport_internet_finalmask_noise_config_proto_goTypes,
		DependencyIndexes: file_transport_internet_finalmask_noise_config_proto_depIdxs,
		MessageInfos:      file_transport_internet_finalmask_noise_config_proto_msgTypes,
	}.Build()
	File_transport_internet_finalmask_noise_config_proto = out.File
	file_transport_internet_finalmask_noise_config_proto_goTypes = nil
	file_transport_internet_finalmask_noise_config_proto_depIdxs = nil
}
