mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-07-03 02:08:45 +00:00
190 lines
6.6 KiB
Go
190 lines
6.6 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v6.33.5
|
|
// source: transport/internet/finalmask/fragment/config.proto
|
|
|
|
package fragment
|
|
|
|
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 Config struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PacketsFrom int64 `protobuf:"varint,1,opt,name=packets_from,json=packetsFrom,proto3" json:"packets_from,omitempty"`
|
|
PacketsTo int64 `protobuf:"varint,2,opt,name=packets_to,json=packetsTo,proto3" json:"packets_to,omitempty"`
|
|
LengthMin int64 `protobuf:"varint,3,opt,name=length_min,json=lengthMin,proto3" json:"length_min,omitempty"`
|
|
LengthMax int64 `protobuf:"varint,4,opt,name=length_max,json=lengthMax,proto3" json:"length_max,omitempty"`
|
|
DelayMin int64 `protobuf:"varint,5,opt,name=delay_min,json=delayMin,proto3" json:"delay_min,omitempty"`
|
|
DelayMax int64 `protobuf:"varint,6,opt,name=delay_max,json=delayMax,proto3" json:"delay_max,omitempty"`
|
|
MaxSplitMin int64 `protobuf:"varint,7,opt,name=max_split_min,json=maxSplitMin,proto3" json:"max_split_min,omitempty"`
|
|
MaxSplitMax int64 `protobuf:"varint,8,opt,name=max_split_max,json=maxSplitMax,proto3" json:"max_split_max,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Config) Reset() {
|
|
*x = Config{}
|
|
mi := &file_transport_internet_finalmask_fragment_config_proto_msgTypes[0]
|
|
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_fragment_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 Config.ProtoReflect.Descriptor instead.
|
|
func (*Config) Descriptor() ([]byte, []int) {
|
|
return file_transport_internet_finalmask_fragment_config_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Config) GetPacketsFrom() int64 {
|
|
if x != nil {
|
|
return x.PacketsFrom
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Config) GetPacketsTo() int64 {
|
|
if x != nil {
|
|
return x.PacketsTo
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Config) GetLengthMin() int64 {
|
|
if x != nil {
|
|
return x.LengthMin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Config) GetLengthMax() int64 {
|
|
if x != nil {
|
|
return x.LengthMax
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Config) GetDelayMin() int64 {
|
|
if x != nil {
|
|
return x.DelayMin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Config) GetDelayMax() int64 {
|
|
if x != nil {
|
|
return x.DelayMax
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Config) GetMaxSplitMin() int64 {
|
|
if x != nil {
|
|
return x.MaxSplitMin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Config) GetMaxSplitMax() int64 {
|
|
if x != nil {
|
|
return x.MaxSplitMax
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_transport_internet_finalmask_fragment_config_proto protoreflect.FileDescriptor
|
|
|
|
const file_transport_internet_finalmask_fragment_config_proto_rawDesc = "" +
|
|
"\n" +
|
|
"2transport/internet/finalmask/fragment/config.proto\x12*xray.transport.internet.finalmask.fragment\"\x8a\x02\n" +
|
|
"\x06Config\x12!\n" +
|
|
"\fpackets_from\x18\x01 \x01(\x03R\vpacketsFrom\x12\x1d\n" +
|
|
"\n" +
|
|
"packets_to\x18\x02 \x01(\x03R\tpacketsTo\x12\x1d\n" +
|
|
"\n" +
|
|
"length_min\x18\x03 \x01(\x03R\tlengthMin\x12\x1d\n" +
|
|
"\n" +
|
|
"length_max\x18\x04 \x01(\x03R\tlengthMax\x12\x1b\n" +
|
|
"\tdelay_min\x18\x05 \x01(\x03R\bdelayMin\x12\x1b\n" +
|
|
"\tdelay_max\x18\x06 \x01(\x03R\bdelayMax\x12\"\n" +
|
|
"\rmax_split_min\x18\a \x01(\x03R\vmaxSplitMin\x12\"\n" +
|
|
"\rmax_split_max\x18\b \x01(\x03R\vmaxSplitMaxB\xa0\x01\n" +
|
|
".com.xray.transport.internet.finalmask.fragmentP\x01Z?github.com/xtls/xray-core/transport/internet/finalmask/fragment\xaa\x02*Xray.Transport.Internet.Finalmask.Fragmentb\x06proto3"
|
|
|
|
var (
|
|
file_transport_internet_finalmask_fragment_config_proto_rawDescOnce sync.Once
|
|
file_transport_internet_finalmask_fragment_config_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_transport_internet_finalmask_fragment_config_proto_rawDescGZIP() []byte {
|
|
file_transport_internet_finalmask_fragment_config_proto_rawDescOnce.Do(func() {
|
|
file_transport_internet_finalmask_fragment_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_transport_internet_finalmask_fragment_config_proto_rawDesc), len(file_transport_internet_finalmask_fragment_config_proto_rawDesc)))
|
|
})
|
|
return file_transport_internet_finalmask_fragment_config_proto_rawDescData
|
|
}
|
|
|
|
var file_transport_internet_finalmask_fragment_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
|
var file_transport_internet_finalmask_fragment_config_proto_goTypes = []any{
|
|
(*Config)(nil), // 0: xray.transport.internet.finalmask.fragment.Config
|
|
}
|
|
var file_transport_internet_finalmask_fragment_config_proto_depIdxs = []int32{
|
|
0, // [0:0] is the sub-list for method output_type
|
|
0, // [0:0] is the sub-list for method input_type
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
0, // [0:0] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_transport_internet_finalmask_fragment_config_proto_init() }
|
|
func file_transport_internet_finalmask_fragment_config_proto_init() {
|
|
if File_transport_internet_finalmask_fragment_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_fragment_config_proto_rawDesc), len(file_transport_internet_finalmask_fragment_config_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 1,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_transport_internet_finalmask_fragment_config_proto_goTypes,
|
|
DependencyIndexes: file_transport_internet_finalmask_fragment_config_proto_depIdxs,
|
|
MessageInfos: file_transport_internet_finalmask_fragment_config_proto_msgTypes,
|
|
}.Build()
|
|
File_transport_internet_finalmask_fragment_config_proto = out.File
|
|
file_transport_internet_finalmask_fragment_config_proto_goTypes = nil
|
|
file_transport_internet_finalmask_fragment_config_proto_depIdxs = nil
|
|
}
|