config.pb.go 6.1 KB

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