config.pb.go 7.1 KB

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