config.pb.go 6.1 KB

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