config.pb.go 8.3 KB

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