github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/transport/internet/headers/utp/config.pb.go (about)

     1  package utp
     2  
     3  import (
     4  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
     5  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
     6  	reflect "reflect"
     7  	sync "sync"
     8  )
     9  
    10  const (
    11  	// Verify that this generated code is sufficiently up-to-date.
    12  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    13  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    14  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    15  )
    16  
    17  type Config struct {
    18  	state         protoimpl.MessageState
    19  	sizeCache     protoimpl.SizeCache
    20  	unknownFields protoimpl.UnknownFields
    21  
    22  	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
    23  }
    24  
    25  func (x *Config) Reset() {
    26  	*x = Config{}
    27  	if protoimpl.UnsafeEnabled {
    28  		mi := &file_transport_internet_headers_utp_config_proto_msgTypes[0]
    29  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    30  		ms.StoreMessageInfo(mi)
    31  	}
    32  }
    33  
    34  func (x *Config) String() string {
    35  	return protoimpl.X.MessageStringOf(x)
    36  }
    37  
    38  func (*Config) ProtoMessage() {}
    39  
    40  func (x *Config) ProtoReflect() protoreflect.Message {
    41  	mi := &file_transport_internet_headers_utp_config_proto_msgTypes[0]
    42  	if protoimpl.UnsafeEnabled && x != nil {
    43  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    44  		if ms.LoadMessageInfo() == nil {
    45  			ms.StoreMessageInfo(mi)
    46  		}
    47  		return ms
    48  	}
    49  	return mi.MessageOf(x)
    50  }
    51  
    52  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
    53  func (*Config) Descriptor() ([]byte, []int) {
    54  	return file_transport_internet_headers_utp_config_proto_rawDescGZIP(), []int{0}
    55  }
    56  
    57  func (x *Config) GetVersion() uint32 {
    58  	if x != nil {
    59  		return x.Version
    60  	}
    61  	return 0
    62  }
    63  
    64  var File_transport_internet_headers_utp_config_proto protoreflect.FileDescriptor
    65  
    66  var file_transport_internet_headers_utp_config_proto_rawDesc = []byte{
    67  	0x0a, 0x2b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
    68  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x75, 0x74, 0x70,
    69  	0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x76,
    70  	0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
    71  	0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61,
    72  	0x64, 0x65, 0x72, 0x73, 0x2e, 0x75, 0x74, 0x70, 0x22, 0x22, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66,
    73  	0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
    74  	0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x9c, 0x01, 0x0a,
    75  	0x2d, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
    76  	0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
    77  	0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x75, 0x74, 0x70, 0x50, 0x01,
    78  	0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66,
    79  	0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35,
    80  	0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
    81  	0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x75, 0x74, 0x70, 0xaa,
    82  	0x02, 0x29, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61,
    83  	0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e,
    84  	0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x55, 0x74, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f,
    85  	0x74, 0x6f, 0x33,
    86  }
    87  
    88  var (
    89  	file_transport_internet_headers_utp_config_proto_rawDescOnce sync.Once
    90  	file_transport_internet_headers_utp_config_proto_rawDescData = file_transport_internet_headers_utp_config_proto_rawDesc
    91  )
    92  
    93  func file_transport_internet_headers_utp_config_proto_rawDescGZIP() []byte {
    94  	file_transport_internet_headers_utp_config_proto_rawDescOnce.Do(func() {
    95  		file_transport_internet_headers_utp_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_utp_config_proto_rawDescData)
    96  	})
    97  	return file_transport_internet_headers_utp_config_proto_rawDescData
    98  }
    99  
   100  var file_transport_internet_headers_utp_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   101  var file_transport_internet_headers_utp_config_proto_goTypes = []interface{}{
   102  	(*Config)(nil), // 0: v2ray.core.transport.internet.headers.utp.Config
   103  }
   104  var file_transport_internet_headers_utp_config_proto_depIdxs = []int32{
   105  	0, // [0:0] is the sub-list for method output_type
   106  	0, // [0:0] is the sub-list for method input_type
   107  	0, // [0:0] is the sub-list for extension type_name
   108  	0, // [0:0] is the sub-list for extension extendee
   109  	0, // [0:0] is the sub-list for field type_name
   110  }
   111  
   112  func init() { file_transport_internet_headers_utp_config_proto_init() }
   113  func file_transport_internet_headers_utp_config_proto_init() {
   114  	if File_transport_internet_headers_utp_config_proto != nil {
   115  		return
   116  	}
   117  	if !protoimpl.UnsafeEnabled {
   118  		file_transport_internet_headers_utp_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   119  			switch v := v.(*Config); i {
   120  			case 0:
   121  				return &v.state
   122  			case 1:
   123  				return &v.sizeCache
   124  			case 2:
   125  				return &v.unknownFields
   126  			default:
   127  				return nil
   128  			}
   129  		}
   130  	}
   131  	type x struct{}
   132  	out := protoimpl.TypeBuilder{
   133  		File: protoimpl.DescBuilder{
   134  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   135  			RawDescriptor: file_transport_internet_headers_utp_config_proto_rawDesc,
   136  			NumEnums:      0,
   137  			NumMessages:   1,
   138  			NumExtensions: 0,
   139  			NumServices:   0,
   140  		},
   141  		GoTypes:           file_transport_internet_headers_utp_config_proto_goTypes,
   142  		DependencyIndexes: file_transport_internet_headers_utp_config_proto_depIdxs,
   143  		MessageInfos:      file_transport_internet_headers_utp_config_proto_msgTypes,
   144  	}.Build()
   145  	File_transport_internet_headers_utp_config_proto = out.File
   146  	file_transport_internet_headers_utp_config_proto_rawDesc = nil
   147  	file_transport_internet_headers_utp_config_proto_goTypes = nil
   148  	file_transport_internet_headers_utp_config_proto_depIdxs = nil
   149  }