config.pb.go 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. package noop
  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 Config struct {
  15. state protoimpl.MessageState
  16. sizeCache protoimpl.SizeCache
  17. unknownFields protoimpl.UnknownFields
  18. }
  19. func (x *Config) Reset() {
  20. *x = Config{}
  21. if protoimpl.UnsafeEnabled {
  22. mi := &file_transport_internet_headers_noop_config_proto_msgTypes[0]
  23. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  24. ms.StoreMessageInfo(mi)
  25. }
  26. }
  27. func (x *Config) String() string {
  28. return protoimpl.X.MessageStringOf(x)
  29. }
  30. func (*Config) ProtoMessage() {}
  31. func (x *Config) ProtoReflect() protoreflect.Message {
  32. mi := &file_transport_internet_headers_noop_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 Config.ProtoReflect.Descriptor instead.
  43. func (*Config) Descriptor() ([]byte, []int) {
  44. return file_transport_internet_headers_noop_config_proto_rawDescGZIP(), []int{0}
  45. }
  46. type ConnectionConfig struct {
  47. state protoimpl.MessageState
  48. sizeCache protoimpl.SizeCache
  49. unknownFields protoimpl.UnknownFields
  50. }
  51. func (x *ConnectionConfig) Reset() {
  52. *x = ConnectionConfig{}
  53. if protoimpl.UnsafeEnabled {
  54. mi := &file_transport_internet_headers_noop_config_proto_msgTypes[1]
  55. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  56. ms.StoreMessageInfo(mi)
  57. }
  58. }
  59. func (x *ConnectionConfig) String() string {
  60. return protoimpl.X.MessageStringOf(x)
  61. }
  62. func (*ConnectionConfig) ProtoMessage() {}
  63. func (x *ConnectionConfig) ProtoReflect() protoreflect.Message {
  64. mi := &file_transport_internet_headers_noop_config_proto_msgTypes[1]
  65. if protoimpl.UnsafeEnabled && x != nil {
  66. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  67. if ms.LoadMessageInfo() == nil {
  68. ms.StoreMessageInfo(mi)
  69. }
  70. return ms
  71. }
  72. return mi.MessageOf(x)
  73. }
  74. // Deprecated: Use ConnectionConfig.ProtoReflect.Descriptor instead.
  75. func (*ConnectionConfig) Descriptor() ([]byte, []int) {
  76. return file_transport_internet_headers_noop_config_proto_rawDescGZIP(), []int{1}
  77. }
  78. var File_transport_internet_headers_noop_config_proto protoreflect.FileDescriptor
  79. var file_transport_internet_headers_noop_config_proto_rawDesc = []byte{
  80. 0x0a, 0x2c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
  81. 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x6e, 0x6f, 0x6f,
  82. 0x70, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a,
  83. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
  84. 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65,
  85. 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x6e, 0x6f, 0x6f, 0x70, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f,
  86. 0x6e, 0x66, 0x69, 0x67, 0x22, 0x12, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
  87. 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x9f, 0x01, 0x0a, 0x2e, 0x63, 0x6f, 0x6d,
  88. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  89. 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68,
  90. 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x6e, 0x6f, 0x6f, 0x70, 0x50, 0x01, 0x5a, 0x3e, 0x67,
  91. 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f,
  92. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x74, 0x72,
  93. 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
  94. 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x6e, 0x6f, 0x6f, 0x70, 0xaa, 0x02, 0x2a,
  95. 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73,
  96. 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x48, 0x65,
  97. 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x4e, 0x6f, 0x6f, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  98. 0x6f, 0x33,
  99. }
  100. var (
  101. file_transport_internet_headers_noop_config_proto_rawDescOnce sync.Once
  102. file_transport_internet_headers_noop_config_proto_rawDescData = file_transport_internet_headers_noop_config_proto_rawDesc
  103. )
  104. func file_transport_internet_headers_noop_config_proto_rawDescGZIP() []byte {
  105. file_transport_internet_headers_noop_config_proto_rawDescOnce.Do(func() {
  106. file_transport_internet_headers_noop_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_noop_config_proto_rawDescData)
  107. })
  108. return file_transport_internet_headers_noop_config_proto_rawDescData
  109. }
  110. var file_transport_internet_headers_noop_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  111. var file_transport_internet_headers_noop_config_proto_goTypes = []interface{}{
  112. (*Config)(nil), // 0: v2ray.core.transport.internet.headers.noop.Config
  113. (*ConnectionConfig)(nil), // 1: v2ray.core.transport.internet.headers.noop.ConnectionConfig
  114. }
  115. var file_transport_internet_headers_noop_config_proto_depIdxs = []int32{
  116. 0, // [0:0] is the sub-list for method output_type
  117. 0, // [0:0] is the sub-list for method input_type
  118. 0, // [0:0] is the sub-list for extension type_name
  119. 0, // [0:0] is the sub-list for extension extendee
  120. 0, // [0:0] is the sub-list for field type_name
  121. }
  122. func init() { file_transport_internet_headers_noop_config_proto_init() }
  123. func file_transport_internet_headers_noop_config_proto_init() {
  124. if File_transport_internet_headers_noop_config_proto != nil {
  125. return
  126. }
  127. if !protoimpl.UnsafeEnabled {
  128. file_transport_internet_headers_noop_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  129. switch v := v.(*Config); i {
  130. case 0:
  131. return &v.state
  132. case 1:
  133. return &v.sizeCache
  134. case 2:
  135. return &v.unknownFields
  136. default:
  137. return nil
  138. }
  139. }
  140. file_transport_internet_headers_noop_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  141. switch v := v.(*ConnectionConfig); i {
  142. case 0:
  143. return &v.state
  144. case 1:
  145. return &v.sizeCache
  146. case 2:
  147. return &v.unknownFields
  148. default:
  149. return nil
  150. }
  151. }
  152. }
  153. type x struct{}
  154. out := protoimpl.TypeBuilder{
  155. File: protoimpl.DescBuilder{
  156. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  157. RawDescriptor: file_transport_internet_headers_noop_config_proto_rawDesc,
  158. NumEnums: 0,
  159. NumMessages: 2,
  160. NumExtensions: 0,
  161. NumServices: 0,
  162. },
  163. GoTypes: file_transport_internet_headers_noop_config_proto_goTypes,
  164. DependencyIndexes: file_transport_internet_headers_noop_config_proto_depIdxs,
  165. MessageInfos: file_transport_internet_headers_noop_config_proto_msgTypes,
  166. }.Build()
  167. File_transport_internet_headers_noop_config_proto = out.File
  168. file_transport_internet_headers_noop_config_proto_rawDesc = nil
  169. file_transport_internet_headers_noop_config_proto_goTypes = nil
  170. file_transport_internet_headers_noop_config_proto_depIdxs = nil
  171. }