config.pb.go 5.1 KB

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