github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/common/net/packetaddr/config.pb.go (about)

     1  package packetaddr
     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 PacketAddrType int32
    18  
    19  const (
    20  	PacketAddrType_None   PacketAddrType = 0
    21  	PacketAddrType_Packet PacketAddrType = 1
    22  )
    23  
    24  // Enum value maps for PacketAddrType.
    25  var (
    26  	PacketAddrType_name = map[int32]string{
    27  		0: "None",
    28  		1: "Packet",
    29  	}
    30  	PacketAddrType_value = map[string]int32{
    31  		"None":   0,
    32  		"Packet": 1,
    33  	}
    34  )
    35  
    36  func (x PacketAddrType) Enum() *PacketAddrType {
    37  	p := new(PacketAddrType)
    38  	*p = x
    39  	return p
    40  }
    41  
    42  func (x PacketAddrType) String() string {
    43  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    44  }
    45  
    46  func (PacketAddrType) Descriptor() protoreflect.EnumDescriptor {
    47  	return file_common_net_packetaddr_config_proto_enumTypes[0].Descriptor()
    48  }
    49  
    50  func (PacketAddrType) Type() protoreflect.EnumType {
    51  	return &file_common_net_packetaddr_config_proto_enumTypes[0]
    52  }
    53  
    54  func (x PacketAddrType) Number() protoreflect.EnumNumber {
    55  	return protoreflect.EnumNumber(x)
    56  }
    57  
    58  // Deprecated: Use PacketAddrType.Descriptor instead.
    59  func (PacketAddrType) EnumDescriptor() ([]byte, []int) {
    60  	return file_common_net_packetaddr_config_proto_rawDescGZIP(), []int{0}
    61  }
    62  
    63  var File_common_net_packetaddr_config_proto protoreflect.FileDescriptor
    64  
    65  var file_common_net_packetaddr_config_proto_rawDesc = []byte{
    66  	0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x70, 0x61, 0x63,
    67  	0x6b, 0x65, 0x74, 0x61, 0x64, 0x64, 0x72, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70,
    68  	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
    69  	0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x61, 0x64, 0x64, 0x72, 0x2a,
    70  	0x26, 0x0a, 0x0e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x54, 0x79, 0x70,
    71  	0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50,
    72  	0x61, 0x63, 0x6b, 0x65, 0x74, 0x10, 0x01, 0x42, 0x81, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e,
    73  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
    74  	0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x61, 0x64, 0x64, 0x72,
    75  	0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76,
    76  	0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f,
    77  	0x76, 0x35, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x70, 0x61,
    78  	0x63, 0x6b, 0x65, 0x74, 0x61, 0x64, 0x64, 0x72, 0xaa, 0x02, 0x20, 0x56, 0x32, 0x52, 0x61, 0x79,
    79  	0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4e, 0x65, 0x74,
    80  	0x2e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x61, 0x64, 0x64, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f,
    81  	0x74, 0x6f, 0x33,
    82  }
    83  
    84  var (
    85  	file_common_net_packetaddr_config_proto_rawDescOnce sync.Once
    86  	file_common_net_packetaddr_config_proto_rawDescData = file_common_net_packetaddr_config_proto_rawDesc
    87  )
    88  
    89  func file_common_net_packetaddr_config_proto_rawDescGZIP() []byte {
    90  	file_common_net_packetaddr_config_proto_rawDescOnce.Do(func() {
    91  		file_common_net_packetaddr_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_net_packetaddr_config_proto_rawDescData)
    92  	})
    93  	return file_common_net_packetaddr_config_proto_rawDescData
    94  }
    95  
    96  var file_common_net_packetaddr_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
    97  var file_common_net_packetaddr_config_proto_goTypes = []interface{}{
    98  	(PacketAddrType)(0), // 0: v2ray.core.net.packetaddr.PacketAddrType
    99  }
   100  var file_common_net_packetaddr_config_proto_depIdxs = []int32{
   101  	0, // [0:0] is the sub-list for method output_type
   102  	0, // [0:0] is the sub-list for method input_type
   103  	0, // [0:0] is the sub-list for extension type_name
   104  	0, // [0:0] is the sub-list for extension extendee
   105  	0, // [0:0] is the sub-list for field type_name
   106  }
   107  
   108  func init() { file_common_net_packetaddr_config_proto_init() }
   109  func file_common_net_packetaddr_config_proto_init() {
   110  	if File_common_net_packetaddr_config_proto != nil {
   111  		return
   112  	}
   113  	type x struct{}
   114  	out := protoimpl.TypeBuilder{
   115  		File: protoimpl.DescBuilder{
   116  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   117  			RawDescriptor: file_common_net_packetaddr_config_proto_rawDesc,
   118  			NumEnums:      1,
   119  			NumMessages:   0,
   120  			NumExtensions: 0,
   121  			NumServices:   0,
   122  		},
   123  		GoTypes:           file_common_net_packetaddr_config_proto_goTypes,
   124  		DependencyIndexes: file_common_net_packetaddr_config_proto_depIdxs,
   125  		EnumInfos:         file_common_net_packetaddr_config_proto_enumTypes,
   126  	}.Build()
   127  	File_common_net_packetaddr_config_proto = out.File
   128  	file_common_net_packetaddr_config_proto_rawDesc = nil
   129  	file_common_net_packetaddr_config_proto_goTypes = nil
   130  	file_common_net_packetaddr_config_proto_depIdxs = nil
   131  }