config.pb.go 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. package wireguard
  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 WireguardConfig struct {
  16. state protoimpl.MessageState `protogen:"open.v1"`
  17. unknownFields protoimpl.UnknownFields
  18. sizeCache protoimpl.SizeCache
  19. }
  20. func (x *WireguardConfig) Reset() {
  21. *x = WireguardConfig{}
  22. mi := &file_transport_internet_headers_wireguard_config_proto_msgTypes[0]
  23. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  24. ms.StoreMessageInfo(mi)
  25. }
  26. func (x *WireguardConfig) String() string {
  27. return protoimpl.X.MessageStringOf(x)
  28. }
  29. func (*WireguardConfig) ProtoMessage() {}
  30. func (x *WireguardConfig) ProtoReflect() protoreflect.Message {
  31. mi := &file_transport_internet_headers_wireguard_config_proto_msgTypes[0]
  32. if x != nil {
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. if ms.LoadMessageInfo() == nil {
  35. ms.StoreMessageInfo(mi)
  36. }
  37. return ms
  38. }
  39. return mi.MessageOf(x)
  40. }
  41. // Deprecated: Use WireguardConfig.ProtoReflect.Descriptor instead.
  42. func (*WireguardConfig) Descriptor() ([]byte, []int) {
  43. return file_transport_internet_headers_wireguard_config_proto_rawDescGZIP(), []int{0}
  44. }
  45. var File_transport_internet_headers_wireguard_config_proto protoreflect.FileDescriptor
  46. var file_transport_internet_headers_wireguard_config_proto_rawDesc = string([]byte{
  47. 0x0a, 0x31, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
  48. 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x77, 0x69, 0x72,
  49. 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72,
  50. 0x6f, 0x74, 0x6f, 0x12, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  51. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
  52. 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x77, 0x69, 0x72, 0x65, 0x67,
  53. 0x75, 0x61, 0x72, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x57, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72,
  54. 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0xae, 0x01, 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2e,
  55. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
  56. 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65,
  57. 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x77, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0x50,
  58. 0x01, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32,
  59. 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76,
  60. 0x35, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
  61. 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x77, 0x69, 0x72,
  62. 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0xaa, 0x02, 0x2f, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43,
  63. 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e,
  64. 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x57,
  65. 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  66. })
  67. var (
  68. file_transport_internet_headers_wireguard_config_proto_rawDescOnce sync.Once
  69. file_transport_internet_headers_wireguard_config_proto_rawDescData []byte
  70. )
  71. func file_transport_internet_headers_wireguard_config_proto_rawDescGZIP() []byte {
  72. file_transport_internet_headers_wireguard_config_proto_rawDescOnce.Do(func() {
  73. file_transport_internet_headers_wireguard_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_transport_internet_headers_wireguard_config_proto_rawDesc), len(file_transport_internet_headers_wireguard_config_proto_rawDesc)))
  74. })
  75. return file_transport_internet_headers_wireguard_config_proto_rawDescData
  76. }
  77. var file_transport_internet_headers_wireguard_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  78. var file_transport_internet_headers_wireguard_config_proto_goTypes = []any{
  79. (*WireguardConfig)(nil), // 0: v2ray.core.transport.internet.headers.wireguard.WireguardConfig
  80. }
  81. var file_transport_internet_headers_wireguard_config_proto_depIdxs = []int32{
  82. 0, // [0:0] is the sub-list for method output_type
  83. 0, // [0:0] is the sub-list for method input_type
  84. 0, // [0:0] is the sub-list for extension type_name
  85. 0, // [0:0] is the sub-list for extension extendee
  86. 0, // [0:0] is the sub-list for field type_name
  87. }
  88. func init() { file_transport_internet_headers_wireguard_config_proto_init() }
  89. func file_transport_internet_headers_wireguard_config_proto_init() {
  90. if File_transport_internet_headers_wireguard_config_proto != nil {
  91. return
  92. }
  93. type x struct{}
  94. out := protoimpl.TypeBuilder{
  95. File: protoimpl.DescBuilder{
  96. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  97. RawDescriptor: unsafe.Slice(unsafe.StringData(file_transport_internet_headers_wireguard_config_proto_rawDesc), len(file_transport_internet_headers_wireguard_config_proto_rawDesc)),
  98. NumEnums: 0,
  99. NumMessages: 1,
  100. NumExtensions: 0,
  101. NumServices: 0,
  102. },
  103. GoTypes: file_transport_internet_headers_wireguard_config_proto_goTypes,
  104. DependencyIndexes: file_transport_internet_headers_wireguard_config_proto_depIdxs,
  105. MessageInfos: file_transport_internet_headers_wireguard_config_proto_msgTypes,
  106. }.Build()
  107. File_transport_internet_headers_wireguard_config_proto = out.File
  108. file_transport_internet_headers_wireguard_config_proto_goTypes = nil
  109. file_transport_internet_headers_wireguard_config_proto_depIdxs = nil
  110. }