config.pb.go 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.0
  4. // protoc v3.17.3
  5. // source: proxy/vlite/outbound/config.proto
  6. package outbound
  7. import (
  8. net "github.com/v2fly/v2ray-core/v5/common/net"
  9. _ "github.com/v2fly/v2ray-core/v5/common/protoext"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  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. type UDPProtocolConfig struct {
  22. state protoimpl.MessageState
  23. sizeCache protoimpl.SizeCache
  24. unknownFields protoimpl.UnknownFields
  25. Address *net.IPOrDomain `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
  26. Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
  27. Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
  28. ScramblePacket bool `protobuf:"varint,4,opt,name=scramble_packet,json=scramblePacket,proto3" json:"scramble_packet,omitempty"`
  29. EnableFec bool `protobuf:"varint,5,opt,name=enable_fec,json=enableFec,proto3" json:"enable_fec,omitempty"`
  30. EnableStabilization bool `protobuf:"varint,6,opt,name=enable_stabilization,json=enableStabilization,proto3" json:"enable_stabilization,omitempty"`
  31. EnableRenegotiation bool `protobuf:"varint,7,opt,name=enable_renegotiation,json=enableRenegotiation,proto3" json:"enable_renegotiation,omitempty"`
  32. }
  33. func (x *UDPProtocolConfig) Reset() {
  34. *x = UDPProtocolConfig{}
  35. if protoimpl.UnsafeEnabled {
  36. mi := &file_proxy_vlite_outbound_config_proto_msgTypes[0]
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. ms.StoreMessageInfo(mi)
  39. }
  40. }
  41. func (x *UDPProtocolConfig) String() string {
  42. return protoimpl.X.MessageStringOf(x)
  43. }
  44. func (*UDPProtocolConfig) ProtoMessage() {}
  45. func (x *UDPProtocolConfig) ProtoReflect() protoreflect.Message {
  46. mi := &file_proxy_vlite_outbound_config_proto_msgTypes[0]
  47. if protoimpl.UnsafeEnabled && x != nil {
  48. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  49. if ms.LoadMessageInfo() == nil {
  50. ms.StoreMessageInfo(mi)
  51. }
  52. return ms
  53. }
  54. return mi.MessageOf(x)
  55. }
  56. // Deprecated: Use UDPProtocolConfig.ProtoReflect.Descriptor instead.
  57. func (*UDPProtocolConfig) Descriptor() ([]byte, []int) {
  58. return file_proxy_vlite_outbound_config_proto_rawDescGZIP(), []int{0}
  59. }
  60. func (x *UDPProtocolConfig) GetAddress() *net.IPOrDomain {
  61. if x != nil {
  62. return x.Address
  63. }
  64. return nil
  65. }
  66. func (x *UDPProtocolConfig) GetPort() uint32 {
  67. if x != nil {
  68. return x.Port
  69. }
  70. return 0
  71. }
  72. func (x *UDPProtocolConfig) GetPassword() string {
  73. if x != nil {
  74. return x.Password
  75. }
  76. return ""
  77. }
  78. func (x *UDPProtocolConfig) GetScramblePacket() bool {
  79. if x != nil {
  80. return x.ScramblePacket
  81. }
  82. return false
  83. }
  84. func (x *UDPProtocolConfig) GetEnableFec() bool {
  85. if x != nil {
  86. return x.EnableFec
  87. }
  88. return false
  89. }
  90. func (x *UDPProtocolConfig) GetEnableStabilization() bool {
  91. if x != nil {
  92. return x.EnableStabilization
  93. }
  94. return false
  95. }
  96. func (x *UDPProtocolConfig) GetEnableRenegotiation() bool {
  97. if x != nil {
  98. return x.EnableRenegotiation
  99. }
  100. return false
  101. }
  102. var File_proxy_vlite_outbound_config_proto protoreflect.FileDescriptor
  103. var file_proxy_vlite_outbound_config_proto_rawDesc = []byte{
  104. 0x0a, 0x21, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x69, 0x74, 0x65, 0x2f, 0x6f, 0x75,
  105. 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72,
  106. 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  107. 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x69, 0x74, 0x65, 0x2e, 0x6f, 0x75, 0x74, 0x62,
  108. 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74,
  109. 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20,
  110. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f,
  111. 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  112. 0x22, 0xca, 0x02, 0x0a, 0x11, 0x55, 0x44, 0x50, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
  113. 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
  114. 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  115. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e,
  116. 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72,
  117. 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
  118. 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77,
  119. 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77,
  120. 0x6f, 0x72, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x63, 0x72, 0x61, 0x6d, 0x62, 0x6c, 0x65, 0x5f,
  121. 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x63,
  122. 0x72, 0x61, 0x6d, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
  123. 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x65, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
  124. 0x52, 0x09, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x65, 0x63, 0x12, 0x31, 0x0a, 0x14, 0x65,
  125. 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74,
  126. 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x65, 0x6e, 0x61, 0x62, 0x6c,
  127. 0x65, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31,
  128. 0x0a, 0x14, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x6e, 0x65, 0x67, 0x6f, 0x74,
  129. 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x65, 0x6e,
  130. 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x6e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f,
  131. 0x6e, 0x3a, 0x1a, 0x82, 0xb5, 0x18, 0x0a, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e,
  132. 0x64, 0x82, 0xb5, 0x18, 0x08, 0x12, 0x06, 0x76, 0x6c, 0x69, 0x74, 0x65, 0x75, 0x42, 0x7e, 0x0a,
  133. 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  134. 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x69, 0x74, 0x65, 0x2e, 0x6f, 0x75, 0x74, 0x62,
  135. 0x6f, 0x75, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  136. 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63,
  137. 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x69,
  138. 0x74, 0x65, 0x2f, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0xaa, 0x02, 0x1f, 0x56, 0x32,
  139. 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56,
  140. 0x6c, 0x69, 0x74, 0x65, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x62, 0x06, 0x70,
  141. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  142. }
  143. var (
  144. file_proxy_vlite_outbound_config_proto_rawDescOnce sync.Once
  145. file_proxy_vlite_outbound_config_proto_rawDescData = file_proxy_vlite_outbound_config_proto_rawDesc
  146. )
  147. func file_proxy_vlite_outbound_config_proto_rawDescGZIP() []byte {
  148. file_proxy_vlite_outbound_config_proto_rawDescOnce.Do(func() {
  149. file_proxy_vlite_outbound_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vlite_outbound_config_proto_rawDescData)
  150. })
  151. return file_proxy_vlite_outbound_config_proto_rawDescData
  152. }
  153. var file_proxy_vlite_outbound_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  154. var file_proxy_vlite_outbound_config_proto_goTypes = []interface{}{
  155. (*UDPProtocolConfig)(nil), // 0: v2ray.core.proxy.vlite.outbound.UDPProtocolConfig
  156. (*net.IPOrDomain)(nil), // 1: v2ray.core.common.net.IPOrDomain
  157. }
  158. var file_proxy_vlite_outbound_config_proto_depIdxs = []int32{
  159. 1, // 0: v2ray.core.proxy.vlite.outbound.UDPProtocolConfig.address:type_name -> v2ray.core.common.net.IPOrDomain
  160. 1, // [1:1] is the sub-list for method output_type
  161. 1, // [1:1] is the sub-list for method input_type
  162. 1, // [1:1] is the sub-list for extension type_name
  163. 1, // [1:1] is the sub-list for extension extendee
  164. 0, // [0:1] is the sub-list for field type_name
  165. }
  166. func init() { file_proxy_vlite_outbound_config_proto_init() }
  167. func file_proxy_vlite_outbound_config_proto_init() {
  168. if File_proxy_vlite_outbound_config_proto != nil {
  169. return
  170. }
  171. if !protoimpl.UnsafeEnabled {
  172. file_proxy_vlite_outbound_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  173. switch v := v.(*UDPProtocolConfig); i {
  174. case 0:
  175. return &v.state
  176. case 1:
  177. return &v.sizeCache
  178. case 2:
  179. return &v.unknownFields
  180. default:
  181. return nil
  182. }
  183. }
  184. }
  185. type x struct{}
  186. out := protoimpl.TypeBuilder{
  187. File: protoimpl.DescBuilder{
  188. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  189. RawDescriptor: file_proxy_vlite_outbound_config_proto_rawDesc,
  190. NumEnums: 0,
  191. NumMessages: 1,
  192. NumExtensions: 0,
  193. NumServices: 0,
  194. },
  195. GoTypes: file_proxy_vlite_outbound_config_proto_goTypes,
  196. DependencyIndexes: file_proxy_vlite_outbound_config_proto_depIdxs,
  197. MessageInfos: file_proxy_vlite_outbound_config_proto_msgTypes,
  198. }.Build()
  199. File_proxy_vlite_outbound_config_proto = out.File
  200. file_proxy_vlite_outbound_config_proto_rawDesc = nil
  201. file_proxy_vlite_outbound_config_proto_goTypes = nil
  202. file_proxy_vlite_outbound_config_proto_depIdxs = nil
  203. }