config.pb.go 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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: proxy/vless/outbound/config.proto
  6. package outbound
  7. import (
  8. net "github.com/v2fly/v2ray-core/v5/common/net"
  9. protocol "github.com/v2fly/v2ray-core/v5/common/protocol"
  10. _ "github.com/v2fly/v2ray-core/v5/common/protoext"
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  13. reflect "reflect"
  14. sync "sync"
  15. )
  16. const (
  17. // Verify that this generated code is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  19. // Verify that runtime/protoimpl is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  21. )
  22. type Config struct {
  23. state protoimpl.MessageState
  24. sizeCache protoimpl.SizeCache
  25. unknownFields protoimpl.UnknownFields
  26. Vnext []*protocol.ServerEndpoint `protobuf:"bytes,1,rep,name=vnext,proto3" json:"vnext,omitempty"`
  27. }
  28. func (x *Config) Reset() {
  29. *x = Config{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_proxy_vless_outbound_config_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *Config) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*Config) ProtoMessage() {}
  40. func (x *Config) ProtoReflect() protoreflect.Message {
  41. mi := &file_proxy_vless_outbound_config_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  52. func (*Config) Descriptor() ([]byte, []int) {
  53. return file_proxy_vless_outbound_config_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *Config) GetVnext() []*protocol.ServerEndpoint {
  56. if x != nil {
  57. return x.Vnext
  58. }
  59. return nil
  60. }
  61. type SimplifiedConfig struct {
  62. state protoimpl.MessageState
  63. sizeCache protoimpl.SizeCache
  64. unknownFields protoimpl.UnknownFields
  65. Address *net.IPOrDomain `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
  66. Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
  67. Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`
  68. }
  69. func (x *SimplifiedConfig) Reset() {
  70. *x = SimplifiedConfig{}
  71. if protoimpl.UnsafeEnabled {
  72. mi := &file_proxy_vless_outbound_config_proto_msgTypes[1]
  73. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  74. ms.StoreMessageInfo(mi)
  75. }
  76. }
  77. func (x *SimplifiedConfig) String() string {
  78. return protoimpl.X.MessageStringOf(x)
  79. }
  80. func (*SimplifiedConfig) ProtoMessage() {}
  81. func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message {
  82. mi := &file_proxy_vless_outbound_config_proto_msgTypes[1]
  83. if protoimpl.UnsafeEnabled && x != nil {
  84. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  85. if ms.LoadMessageInfo() == nil {
  86. ms.StoreMessageInfo(mi)
  87. }
  88. return ms
  89. }
  90. return mi.MessageOf(x)
  91. }
  92. // Deprecated: Use SimplifiedConfig.ProtoReflect.Descriptor instead.
  93. func (*SimplifiedConfig) Descriptor() ([]byte, []int) {
  94. return file_proxy_vless_outbound_config_proto_rawDescGZIP(), []int{1}
  95. }
  96. func (x *SimplifiedConfig) GetAddress() *net.IPOrDomain {
  97. if x != nil {
  98. return x.Address
  99. }
  100. return nil
  101. }
  102. func (x *SimplifiedConfig) GetPort() uint32 {
  103. if x != nil {
  104. return x.Port
  105. }
  106. return 0
  107. }
  108. func (x *SimplifiedConfig) GetUuid() string {
  109. if x != nil {
  110. return x.Uuid
  111. }
  112. return ""
  113. }
  114. var File_proxy_vless_outbound_config_proto protoreflect.FileDescriptor
  115. var file_proxy_vless_outbound_config_proto_rawDesc = []byte{
  116. 0x0a, 0x21, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x6f, 0x75,
  117. 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72,
  118. 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  119. 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x6f, 0x75, 0x74, 0x62,
  120. 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f,
  121. 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65,
  122. 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
  123. 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  124. 0x6f, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65,
  125. 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
  126. 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x40, 0x0a,
  127. 0x05, 0x76, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76,
  128. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  129. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
  130. 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x6e, 0x65, 0x78, 0x74, 0x22,
  131. 0x92, 0x01, 0x0a, 0x10, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x43, 0x6f,
  132. 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
  133. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  134. 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50,
  135. 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
  136. 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
  137. 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20,
  138. 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x3a, 0x19, 0x82, 0xb5, 0x18, 0x0a, 0x0a,
  139. 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x82, 0xb5, 0x18, 0x07, 0x12, 0x05, 0x76,
  140. 0x6c, 0x65, 0x73, 0x73, 0x42, 0x7e, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61,
  141. 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65,
  142. 0x73, 0x73, 0x2e, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x33, 0x67,
  143. 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f,
  144. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x70, 0x72,
  145. 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75,
  146. 0x6e, 0x64, 0xaa, 0x02, 0x1f, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e,
  147. 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x4f, 0x75, 0x74, 0x62,
  148. 0x6f, 0x75, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  149. }
  150. var (
  151. file_proxy_vless_outbound_config_proto_rawDescOnce sync.Once
  152. file_proxy_vless_outbound_config_proto_rawDescData = file_proxy_vless_outbound_config_proto_rawDesc
  153. )
  154. func file_proxy_vless_outbound_config_proto_rawDescGZIP() []byte {
  155. file_proxy_vless_outbound_config_proto_rawDescOnce.Do(func() {
  156. file_proxy_vless_outbound_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vless_outbound_config_proto_rawDescData)
  157. })
  158. return file_proxy_vless_outbound_config_proto_rawDescData
  159. }
  160. var file_proxy_vless_outbound_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  161. var file_proxy_vless_outbound_config_proto_goTypes = []interface{}{
  162. (*Config)(nil), // 0: v2ray.core.proxy.vless.outbound.Config
  163. (*SimplifiedConfig)(nil), // 1: v2ray.core.proxy.vless.outbound.SimplifiedConfig
  164. (*protocol.ServerEndpoint)(nil), // 2: v2ray.core.common.protocol.ServerEndpoint
  165. (*net.IPOrDomain)(nil), // 3: v2ray.core.common.net.IPOrDomain
  166. }
  167. var file_proxy_vless_outbound_config_proto_depIdxs = []int32{
  168. 2, // 0: v2ray.core.proxy.vless.outbound.Config.vnext:type_name -> v2ray.core.common.protocol.ServerEndpoint
  169. 3, // 1: v2ray.core.proxy.vless.outbound.SimplifiedConfig.address:type_name -> v2ray.core.common.net.IPOrDomain
  170. 2, // [2:2] is the sub-list for method output_type
  171. 2, // [2:2] is the sub-list for method input_type
  172. 2, // [2:2] is the sub-list for extension type_name
  173. 2, // [2:2] is the sub-list for extension extendee
  174. 0, // [0:2] is the sub-list for field type_name
  175. }
  176. func init() { file_proxy_vless_outbound_config_proto_init() }
  177. func file_proxy_vless_outbound_config_proto_init() {
  178. if File_proxy_vless_outbound_config_proto != nil {
  179. return
  180. }
  181. if !protoimpl.UnsafeEnabled {
  182. file_proxy_vless_outbound_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  183. switch v := v.(*Config); i {
  184. case 0:
  185. return &v.state
  186. case 1:
  187. return &v.sizeCache
  188. case 2:
  189. return &v.unknownFields
  190. default:
  191. return nil
  192. }
  193. }
  194. file_proxy_vless_outbound_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  195. switch v := v.(*SimplifiedConfig); i {
  196. case 0:
  197. return &v.state
  198. case 1:
  199. return &v.sizeCache
  200. case 2:
  201. return &v.unknownFields
  202. default:
  203. return nil
  204. }
  205. }
  206. }
  207. type x struct{}
  208. out := protoimpl.TypeBuilder{
  209. File: protoimpl.DescBuilder{
  210. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  211. RawDescriptor: file_proxy_vless_outbound_config_proto_rawDesc,
  212. NumEnums: 0,
  213. NumMessages: 2,
  214. NumExtensions: 0,
  215. NumServices: 0,
  216. },
  217. GoTypes: file_proxy_vless_outbound_config_proto_goTypes,
  218. DependencyIndexes: file_proxy_vless_outbound_config_proto_depIdxs,
  219. MessageInfos: file_proxy_vless_outbound_config_proto_msgTypes,
  220. }.Build()
  221. File_proxy_vless_outbound_config_proto = out.File
  222. file_proxy_vless_outbound_config_proto_rawDesc = nil
  223. file_proxy_vless_outbound_config_proto_goTypes = nil
  224. file_proxy_vless_outbound_config_proto_depIdxs = nil
  225. }