config.pb.go 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. package wireguard
  2. import (
  3. proto "github.com/golang/protobuf/proto"
  4. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  5. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  6. reflect "reflect"
  7. sync "sync"
  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. // This is a compile-time assertion that a sufficiently up-to-date version
  16. // of the legacy proto package is being used.
  17. const _ = proto.ProtoPackageIsVersion4
  18. type WireguardConfig struct {
  19. state protoimpl.MessageState
  20. sizeCache protoimpl.SizeCache
  21. unknownFields protoimpl.UnknownFields
  22. }
  23. func (x *WireguardConfig) Reset() {
  24. *x = WireguardConfig{}
  25. if protoimpl.UnsafeEnabled {
  26. mi := &file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_msgTypes[0]
  27. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  28. ms.StoreMessageInfo(mi)
  29. }
  30. }
  31. func (x *WireguardConfig) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*WireguardConfig) ProtoMessage() {}
  35. func (x *WireguardConfig) ProtoReflect() protoreflect.Message {
  36. mi := &file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_msgTypes[0]
  37. if protoimpl.UnsafeEnabled && x != nil {
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. if ms.LoadMessageInfo() == nil {
  40. ms.StoreMessageInfo(mi)
  41. }
  42. return ms
  43. }
  44. return mi.MessageOf(x)
  45. }
  46. // Deprecated: Use WireguardConfig.ProtoReflect.Descriptor instead.
  47. func (*WireguardConfig) Descriptor() ([]byte, []int) {
  48. return file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_rawDescGZIP(), []int{0}
  49. }
  50. var File_v2ray_com_core_transport_internet_headers_wireguard_config_proto protoreflect.FileDescriptor
  51. var file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_rawDesc = []byte{
  52. 0x0a, 0x40, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65,
  53. 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
  54. 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x77, 0x69, 0x72, 0x65,
  55. 0x67, 0x75, 0x61, 0x72, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f,
  56. 0x74, 0x6f, 0x12, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74,
  57. 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65,
  58. 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x77, 0x69, 0x72, 0x65, 0x67, 0x75,
  59. 0x61, 0x72, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x57, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 0x64,
  60. 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x74, 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32,
  61. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
  62. 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64,
  63. 0x65, 0x72, 0x73, 0x2e, 0x77, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0x50, 0x01, 0x5a,
  64. 0x09, 0x77, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0xaa, 0x02, 0x2f, 0x56, 0x32, 0x52,
  65. 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
  66. 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65,
  67. 0x72, 0x73, 0x2e, 0x57, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0x62, 0x06, 0x70, 0x72,
  68. 0x6f, 0x74, 0x6f, 0x33,
  69. }
  70. var (
  71. file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_rawDescOnce sync.Once
  72. file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_rawDescData = file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_rawDesc
  73. )
  74. func file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_rawDescGZIP() []byte {
  75. file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_rawDescOnce.Do(func() {
  76. file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_rawDescData)
  77. })
  78. return file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_rawDescData
  79. }
  80. var file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  81. var file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_goTypes = []interface{}{
  82. (*WireguardConfig)(nil), // 0: v2ray.core.transport.internet.headers.wireguard.WireguardConfig
  83. }
  84. var file_v2ray_com_core_transport_internet_headers_wireguard_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_v2ray_com_core_transport_internet_headers_wireguard_config_proto_init() }
  92. func file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_init() {
  93. if File_v2ray_com_core_transport_internet_headers_wireguard_config_proto != nil {
  94. return
  95. }
  96. if !protoimpl.UnsafeEnabled {
  97. file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  98. switch v := v.(*WireguardConfig); i {
  99. case 0:
  100. return &v.state
  101. case 1:
  102. return &v.sizeCache
  103. case 2:
  104. return &v.unknownFields
  105. default:
  106. return nil
  107. }
  108. }
  109. }
  110. type x struct{}
  111. out := protoimpl.TypeBuilder{
  112. File: protoimpl.DescBuilder{
  113. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  114. RawDescriptor: file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_rawDesc,
  115. NumEnums: 0,
  116. NumMessages: 1,
  117. NumExtensions: 0,
  118. NumServices: 0,
  119. },
  120. GoTypes: file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_goTypes,
  121. DependencyIndexes: file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_depIdxs,
  122. MessageInfos: file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_msgTypes,
  123. }.Build()
  124. File_v2ray_com_core_transport_internet_headers_wireguard_config_proto = out.File
  125. file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_rawDesc = nil
  126. file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_goTypes = nil
  127. file_v2ray_com_core_transport_internet_headers_wireguard_config_proto_depIdxs = nil
  128. }