config.pb.go 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.17.3
  5. // source: config.proto
  6. package core
  7. import (
  8. transport "github.com/v2fly/v2ray-core/v4/transport"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. anypb "google.golang.org/protobuf/types/known/anypb"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. // Config is the master config of V2Ray. V2Ray takes this config as input and
  22. // functions accordingly.
  23. type Config struct {
  24. state protoimpl.MessageState
  25. sizeCache protoimpl.SizeCache
  26. unknownFields protoimpl.UnknownFields
  27. // Inbound handler configurations. Must have at least one item.
  28. Inbound []*InboundHandlerConfig `protobuf:"bytes,1,rep,name=inbound,proto3" json:"inbound,omitempty"`
  29. // Outbound handler configurations. Must have at least one item. The first
  30. // item is used as default for routing.
  31. Outbound []*OutboundHandlerConfig `protobuf:"bytes,2,rep,name=outbound,proto3" json:"outbound,omitempty"`
  32. // App is for configurations of all features in V2Ray. A feature must
  33. // implement the Feature interface, and its config type must be registered
  34. // through common.RegisterConfig.
  35. App []*anypb.Any `protobuf:"bytes,4,rep,name=app,proto3" json:"app,omitempty"`
  36. // Transport settings.
  37. // Deprecated. Each inbound and outbound should choose their own transport
  38. // config. Date to remove: 2020-01-13
  39. //
  40. // Deprecated: Do not use.
  41. Transport *transport.Config `protobuf:"bytes,5,opt,name=transport,proto3" json:"transport,omitempty"`
  42. // Configuration for extensions. The config may not work if corresponding
  43. // extension is not loaded into V2Ray. V2Ray will ignore such config during
  44. // initialization.
  45. Extension []*anypb.Any `protobuf:"bytes,6,rep,name=extension,proto3" json:"extension,omitempty"`
  46. }
  47. func (x *Config) Reset() {
  48. *x = Config{}
  49. if protoimpl.UnsafeEnabled {
  50. mi := &file_config_proto_msgTypes[0]
  51. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  52. ms.StoreMessageInfo(mi)
  53. }
  54. }
  55. func (x *Config) String() string {
  56. return protoimpl.X.MessageStringOf(x)
  57. }
  58. func (*Config) ProtoMessage() {}
  59. func (x *Config) ProtoReflect() protoreflect.Message {
  60. mi := &file_config_proto_msgTypes[0]
  61. if protoimpl.UnsafeEnabled && x != nil {
  62. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  63. if ms.LoadMessageInfo() == nil {
  64. ms.StoreMessageInfo(mi)
  65. }
  66. return ms
  67. }
  68. return mi.MessageOf(x)
  69. }
  70. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  71. func (*Config) Descriptor() ([]byte, []int) {
  72. return file_config_proto_rawDescGZIP(), []int{0}
  73. }
  74. func (x *Config) GetInbound() []*InboundHandlerConfig {
  75. if x != nil {
  76. return x.Inbound
  77. }
  78. return nil
  79. }
  80. func (x *Config) GetOutbound() []*OutboundHandlerConfig {
  81. if x != nil {
  82. return x.Outbound
  83. }
  84. return nil
  85. }
  86. func (x *Config) GetApp() []*anypb.Any {
  87. if x != nil {
  88. return x.App
  89. }
  90. return nil
  91. }
  92. // Deprecated: Do not use.
  93. func (x *Config) GetTransport() *transport.Config {
  94. if x != nil {
  95. return x.Transport
  96. }
  97. return nil
  98. }
  99. func (x *Config) GetExtension() []*anypb.Any {
  100. if x != nil {
  101. return x.Extension
  102. }
  103. return nil
  104. }
  105. // InboundHandlerConfig is the configuration for inbound handler.
  106. type InboundHandlerConfig struct {
  107. state protoimpl.MessageState
  108. sizeCache protoimpl.SizeCache
  109. unknownFields protoimpl.UnknownFields
  110. // Tag of the inbound handler. The tag must be unique among all inbound
  111. // handlers
  112. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  113. // Settings for how this inbound proxy is handled.
  114. ReceiverSettings *anypb.Any `protobuf:"bytes,2,opt,name=receiver_settings,json=receiverSettings,proto3" json:"receiver_settings,omitempty"`
  115. // Settings for inbound proxy. Must be one of the inbound proxies.
  116. ProxySettings *anypb.Any `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"`
  117. }
  118. func (x *InboundHandlerConfig) Reset() {
  119. *x = InboundHandlerConfig{}
  120. if protoimpl.UnsafeEnabled {
  121. mi := &file_config_proto_msgTypes[1]
  122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  123. ms.StoreMessageInfo(mi)
  124. }
  125. }
  126. func (x *InboundHandlerConfig) String() string {
  127. return protoimpl.X.MessageStringOf(x)
  128. }
  129. func (*InboundHandlerConfig) ProtoMessage() {}
  130. func (x *InboundHandlerConfig) ProtoReflect() protoreflect.Message {
  131. mi := &file_config_proto_msgTypes[1]
  132. if protoimpl.UnsafeEnabled && x != nil {
  133. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  134. if ms.LoadMessageInfo() == nil {
  135. ms.StoreMessageInfo(mi)
  136. }
  137. return ms
  138. }
  139. return mi.MessageOf(x)
  140. }
  141. // Deprecated: Use InboundHandlerConfig.ProtoReflect.Descriptor instead.
  142. func (*InboundHandlerConfig) Descriptor() ([]byte, []int) {
  143. return file_config_proto_rawDescGZIP(), []int{1}
  144. }
  145. func (x *InboundHandlerConfig) GetTag() string {
  146. if x != nil {
  147. return x.Tag
  148. }
  149. return ""
  150. }
  151. func (x *InboundHandlerConfig) GetReceiverSettings() *anypb.Any {
  152. if x != nil {
  153. return x.ReceiverSettings
  154. }
  155. return nil
  156. }
  157. func (x *InboundHandlerConfig) GetProxySettings() *anypb.Any {
  158. if x != nil {
  159. return x.ProxySettings
  160. }
  161. return nil
  162. }
  163. // OutboundHandlerConfig is the configuration for outbound handler.
  164. type OutboundHandlerConfig struct {
  165. state protoimpl.MessageState
  166. sizeCache protoimpl.SizeCache
  167. unknownFields protoimpl.UnknownFields
  168. // Tag of this outbound handler.
  169. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  170. // Settings for how to dial connection for this outbound handler.
  171. SenderSettings *anypb.Any `protobuf:"bytes,2,opt,name=sender_settings,json=senderSettings,proto3" json:"sender_settings,omitempty"`
  172. // Settings for this outbound proxy. Must be one of the outbound proxies.
  173. ProxySettings *anypb.Any `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"`
  174. // If not zero, this outbound will be expired in seconds. Not used for now.
  175. Expire int64 `protobuf:"varint,4,opt,name=expire,proto3" json:"expire,omitempty"`
  176. // Comment of this outbound handler. Not used for now.
  177. Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`
  178. }
  179. func (x *OutboundHandlerConfig) Reset() {
  180. *x = OutboundHandlerConfig{}
  181. if protoimpl.UnsafeEnabled {
  182. mi := &file_config_proto_msgTypes[2]
  183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  184. ms.StoreMessageInfo(mi)
  185. }
  186. }
  187. func (x *OutboundHandlerConfig) String() string {
  188. return protoimpl.X.MessageStringOf(x)
  189. }
  190. func (*OutboundHandlerConfig) ProtoMessage() {}
  191. func (x *OutboundHandlerConfig) ProtoReflect() protoreflect.Message {
  192. mi := &file_config_proto_msgTypes[2]
  193. if protoimpl.UnsafeEnabled && x != nil {
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. if ms.LoadMessageInfo() == nil {
  196. ms.StoreMessageInfo(mi)
  197. }
  198. return ms
  199. }
  200. return mi.MessageOf(x)
  201. }
  202. // Deprecated: Use OutboundHandlerConfig.ProtoReflect.Descriptor instead.
  203. func (*OutboundHandlerConfig) Descriptor() ([]byte, []int) {
  204. return file_config_proto_rawDescGZIP(), []int{2}
  205. }
  206. func (x *OutboundHandlerConfig) GetTag() string {
  207. if x != nil {
  208. return x.Tag
  209. }
  210. return ""
  211. }
  212. func (x *OutboundHandlerConfig) GetSenderSettings() *anypb.Any {
  213. if x != nil {
  214. return x.SenderSettings
  215. }
  216. return nil
  217. }
  218. func (x *OutboundHandlerConfig) GetProxySettings() *anypb.Any {
  219. if x != nil {
  220. return x.ProxySettings
  221. }
  222. return nil
  223. }
  224. func (x *OutboundHandlerConfig) GetExpire() int64 {
  225. if x != nil {
  226. return x.Expire
  227. }
  228. return 0
  229. }
  230. func (x *OutboundHandlerConfig) GetComment() string {
  231. if x != nil {
  232. return x.Comment
  233. }
  234. return ""
  235. }
  236. var File_config_proto protoreflect.FileDescriptor
  237. var file_config_proto_rawDesc = []byte{
  238. 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a,
  239. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d,
  240. 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f,
  241. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x74,
  242. 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
  243. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x02, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  244. 0x12, 0x3a, 0x0a, 0x07, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28,
  245. 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49,
  246. 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e,
  247. 0x66, 0x69, 0x67, 0x52, 0x07, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x3d, 0x0a, 0x08,
  248. 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
  249. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x75, 0x74, 0x62,
  250. 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  251. 0x67, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x26, 0x0a, 0x03, 0x61,
  252. 0x70, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  253. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x03,
  254. 0x61, 0x70, 0x70, 0x12, 0x3e, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
  255. 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
  256. 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x43, 0x6f,
  257. 0x6e, 0x66, 0x69, 0x67, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
  258. 0x6f, 0x72, 0x74, 0x12, 0x32, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
  259. 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  260. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x09, 0x65, 0x78,
  261. 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xa8, 0x01,
  262. 0x0a, 0x14, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72,
  263. 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20,
  264. 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x41, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x65,
  265. 0x69, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20,
  266. 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  267. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69,
  268. 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x70,
  269. 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20,
  270. 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  271. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79,
  272. 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0xd7, 0x01, 0x0a, 0x15, 0x4f, 0x75, 0x74,
  273. 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66,
  274. 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  275. 0x03, 0x74, 0x61, 0x67, 0x12, 0x3d, 0x0a, 0x0f, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x73,
  276. 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
  277. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  278. 0x41, 0x6e, 0x79, 0x52, 0x0e, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69,
  279. 0x6e, 0x67, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74,
  280. 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f,
  281. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e,
  282. 0x79, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
  283. 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
  284. 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
  285. 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
  286. 0x6e, 0x74, 0x42, 0x44, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  287. 0x63, 0x6f, 0x72, 0x65, 0x50, 0x01, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  288. 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63,
  289. 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x3b, 0x63, 0x6f, 0x72, 0x65, 0xaa, 0x02, 0x0a, 0x56, 0x32,
  290. 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  291. }
  292. var (
  293. file_config_proto_rawDescOnce sync.Once
  294. file_config_proto_rawDescData = file_config_proto_rawDesc
  295. )
  296. func file_config_proto_rawDescGZIP() []byte {
  297. file_config_proto_rawDescOnce.Do(func() {
  298. file_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_config_proto_rawDescData)
  299. })
  300. return file_config_proto_rawDescData
  301. }
  302. var file_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  303. var file_config_proto_goTypes = []interface{}{
  304. (*Config)(nil), // 0: v2ray.core.Config
  305. (*InboundHandlerConfig)(nil), // 1: v2ray.core.InboundHandlerConfig
  306. (*OutboundHandlerConfig)(nil), // 2: v2ray.core.OutboundHandlerConfig
  307. (*anypb.Any)(nil), // 3: google.protobuf.Any
  308. (*transport.Config)(nil), // 4: v2ray.core.transport.Config
  309. }
  310. var file_config_proto_depIdxs = []int32{
  311. 1, // 0: v2ray.core.Config.inbound:type_name -> v2ray.core.InboundHandlerConfig
  312. 2, // 1: v2ray.core.Config.outbound:type_name -> v2ray.core.OutboundHandlerConfig
  313. 3, // 2: v2ray.core.Config.app:type_name -> google.protobuf.Any
  314. 4, // 3: v2ray.core.Config.transport:type_name -> v2ray.core.transport.Config
  315. 3, // 4: v2ray.core.Config.extension:type_name -> google.protobuf.Any
  316. 3, // 5: v2ray.core.InboundHandlerConfig.receiver_settings:type_name -> google.protobuf.Any
  317. 3, // 6: v2ray.core.InboundHandlerConfig.proxy_settings:type_name -> google.protobuf.Any
  318. 3, // 7: v2ray.core.OutboundHandlerConfig.sender_settings:type_name -> google.protobuf.Any
  319. 3, // 8: v2ray.core.OutboundHandlerConfig.proxy_settings:type_name -> google.protobuf.Any
  320. 9, // [9:9] is the sub-list for method output_type
  321. 9, // [9:9] is the sub-list for method input_type
  322. 9, // [9:9] is the sub-list for extension type_name
  323. 9, // [9:9] is the sub-list for extension extendee
  324. 0, // [0:9] is the sub-list for field type_name
  325. }
  326. func init() { file_config_proto_init() }
  327. func file_config_proto_init() {
  328. if File_config_proto != nil {
  329. return
  330. }
  331. if !protoimpl.UnsafeEnabled {
  332. file_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  333. switch v := v.(*Config); i {
  334. case 0:
  335. return &v.state
  336. case 1:
  337. return &v.sizeCache
  338. case 2:
  339. return &v.unknownFields
  340. default:
  341. return nil
  342. }
  343. }
  344. file_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  345. switch v := v.(*InboundHandlerConfig); i {
  346. case 0:
  347. return &v.state
  348. case 1:
  349. return &v.sizeCache
  350. case 2:
  351. return &v.unknownFields
  352. default:
  353. return nil
  354. }
  355. }
  356. file_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  357. switch v := v.(*OutboundHandlerConfig); i {
  358. case 0:
  359. return &v.state
  360. case 1:
  361. return &v.sizeCache
  362. case 2:
  363. return &v.unknownFields
  364. default:
  365. return nil
  366. }
  367. }
  368. }
  369. type x struct{}
  370. out := protoimpl.TypeBuilder{
  371. File: protoimpl.DescBuilder{
  372. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  373. RawDescriptor: file_config_proto_rawDesc,
  374. NumEnums: 0,
  375. NumMessages: 3,
  376. NumExtensions: 0,
  377. NumServices: 0,
  378. },
  379. GoTypes: file_config_proto_goTypes,
  380. DependencyIndexes: file_config_proto_depIdxs,
  381. MessageInfos: file_config_proto_msgTypes,
  382. }.Build()
  383. File_config_proto = out.File
  384. file_config_proto_rawDesc = nil
  385. file_config_proto_goTypes = nil
  386. file_config_proto_depIdxs = nil
  387. }