config.pb.go 8.8 KB

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