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