config.pb.go 5.1 KB

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