config.pb.go 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc v5.28.2
  5. // source: transport/internet/reality/config.proto
  6. package reality
  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 Config struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Show bool `protobuf:"varint,1,opt,name=show,proto3" json:"show,omitempty"`
  24. Dest string `protobuf:"bytes,2,opt,name=dest,proto3" json:"dest,omitempty"`
  25. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
  26. Xver uint64 `protobuf:"varint,4,opt,name=xver,proto3" json:"xver,omitempty"`
  27. ServerNames []string `protobuf:"bytes,5,rep,name=server_names,json=serverNames,proto3" json:"server_names,omitempty"`
  28. PrivateKey []byte `protobuf:"bytes,6,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
  29. MinClientVer []byte `protobuf:"bytes,7,opt,name=min_client_ver,json=minClientVer,proto3" json:"min_client_ver,omitempty"`
  30. MaxClientVer []byte `protobuf:"bytes,8,opt,name=max_client_ver,json=maxClientVer,proto3" json:"max_client_ver,omitempty"`
  31. MaxTimeDiff uint64 `protobuf:"varint,9,opt,name=max_time_diff,json=maxTimeDiff,proto3" json:"max_time_diff,omitempty"`
  32. ShortIds [][]byte `protobuf:"bytes,10,rep,name=short_ids,json=shortIds,proto3" json:"short_ids,omitempty"`
  33. Fingerprint string `protobuf:"bytes,21,opt,name=Fingerprint,proto3" json:"Fingerprint,omitempty"`
  34. ServerName string `protobuf:"bytes,22,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
  35. PublicKey []byte `protobuf:"bytes,23,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
  36. ShortId []byte `protobuf:"bytes,24,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty"`
  37. SpiderX string `protobuf:"bytes,25,opt,name=spider_x,json=spiderX,proto3" json:"spider_x,omitempty"`
  38. SpiderY []int64 `protobuf:"varint,26,rep,packed,name=spider_y,json=spiderY,proto3" json:"spider_y,omitempty"`
  39. MasterKeyLog string `protobuf:"bytes,27,opt,name=master_key_log,json=masterKeyLog,proto3" json:"master_key_log,omitempty"`
  40. }
  41. func (x *Config) Reset() {
  42. *x = Config{}
  43. mi := &file_transport_internet_reality_config_proto_msgTypes[0]
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. ms.StoreMessageInfo(mi)
  46. }
  47. func (x *Config) String() string {
  48. return protoimpl.X.MessageStringOf(x)
  49. }
  50. func (*Config) ProtoMessage() {}
  51. func (x *Config) ProtoReflect() protoreflect.Message {
  52. mi := &file_transport_internet_reality_config_proto_msgTypes[0]
  53. if x != nil {
  54. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  55. if ms.LoadMessageInfo() == nil {
  56. ms.StoreMessageInfo(mi)
  57. }
  58. return ms
  59. }
  60. return mi.MessageOf(x)
  61. }
  62. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  63. func (*Config) Descriptor() ([]byte, []int) {
  64. return file_transport_internet_reality_config_proto_rawDescGZIP(), []int{0}
  65. }
  66. func (x *Config) GetShow() bool {
  67. if x != nil {
  68. return x.Show
  69. }
  70. return false
  71. }
  72. func (x *Config) GetDest() string {
  73. if x != nil {
  74. return x.Dest
  75. }
  76. return ""
  77. }
  78. func (x *Config) GetType() string {
  79. if x != nil {
  80. return x.Type
  81. }
  82. return ""
  83. }
  84. func (x *Config) GetXver() uint64 {
  85. if x != nil {
  86. return x.Xver
  87. }
  88. return 0
  89. }
  90. func (x *Config) GetServerNames() []string {
  91. if x != nil {
  92. return x.ServerNames
  93. }
  94. return nil
  95. }
  96. func (x *Config) GetPrivateKey() []byte {
  97. if x != nil {
  98. return x.PrivateKey
  99. }
  100. return nil
  101. }
  102. func (x *Config) GetMinClientVer() []byte {
  103. if x != nil {
  104. return x.MinClientVer
  105. }
  106. return nil
  107. }
  108. func (x *Config) GetMaxClientVer() []byte {
  109. if x != nil {
  110. return x.MaxClientVer
  111. }
  112. return nil
  113. }
  114. func (x *Config) GetMaxTimeDiff() uint64 {
  115. if x != nil {
  116. return x.MaxTimeDiff
  117. }
  118. return 0
  119. }
  120. func (x *Config) GetShortIds() [][]byte {
  121. if x != nil {
  122. return x.ShortIds
  123. }
  124. return nil
  125. }
  126. func (x *Config) GetFingerprint() string {
  127. if x != nil {
  128. return x.Fingerprint
  129. }
  130. return ""
  131. }
  132. func (x *Config) GetServerName() string {
  133. if x != nil {
  134. return x.ServerName
  135. }
  136. return ""
  137. }
  138. func (x *Config) GetPublicKey() []byte {
  139. if x != nil {
  140. return x.PublicKey
  141. }
  142. return nil
  143. }
  144. func (x *Config) GetShortId() []byte {
  145. if x != nil {
  146. return x.ShortId
  147. }
  148. return nil
  149. }
  150. func (x *Config) GetSpiderX() string {
  151. if x != nil {
  152. return x.SpiderX
  153. }
  154. return ""
  155. }
  156. func (x *Config) GetSpiderY() []int64 {
  157. if x != nil {
  158. return x.SpiderY
  159. }
  160. return nil
  161. }
  162. func (x *Config) GetMasterKeyLog() string {
  163. if x != nil {
  164. return x.MasterKeyLog
  165. }
  166. return ""
  167. }
  168. var File_transport_internet_reality_config_proto protoreflect.FileDescriptor
  169. var file_transport_internet_reality_config_proto_rawDesc = []byte{
  170. 0x0a, 0x27, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
  171. 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x2f, 0x63, 0x6f, 0x6e,
  172. 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x78, 0x72, 0x61, 0x79, 0x2e,
  173. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
  174. 0x65, 0x74, 0x2e, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x82, 0x04, 0x0a, 0x06, 0x43,
  175. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x01, 0x20,
  176. 0x01, 0x28, 0x08, 0x52, 0x04, 0x73, 0x68, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73,
  177. 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
  178. 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
  179. 0x65, 0x12, 0x12, 0x0a, 0x04, 0x78, 0x76, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
  180. 0x04, 0x78, 0x76, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
  181. 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72,
  182. 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x76,
  183. 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70,
  184. 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x69, 0x6e,
  185. 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28,
  186. 0x0c, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x12,
  187. 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65,
  188. 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x43, 0x6c, 0x69, 0x65,
  189. 0x6e, 0x74, 0x56, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x69, 0x6d,
  190. 0x65, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61,
  191. 0x78, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x69, 0x66, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f,
  192. 0x72, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x73, 0x68,
  193. 0x6f, 0x72, 0x74, 0x49, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72,
  194. 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x46, 0x69, 0x6e,
  195. 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76,
  196. 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73,
  197. 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62,
  198. 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70,
  199. 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x6f, 0x72,
  200. 0x74, 0x5f, 0x69, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x72,
  201. 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x70, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x78, 0x18,
  202. 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x70, 0x69, 0x64, 0x65, 0x72, 0x58, 0x12, 0x19,
  203. 0x0a, 0x08, 0x73, 0x70, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x79, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x03,
  204. 0x52, 0x07, 0x73, 0x70, 0x69, 0x64, 0x65, 0x72, 0x59, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x73,
  205. 0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x1b, 0x20, 0x01, 0x28,
  206. 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x4c, 0x6f, 0x67, 0x42,
  207. 0x7f, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  208. 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x72,
  209. 0x65, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
  210. 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63,
  211. 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e,
  212. 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x74, 0x79, 0xaa, 0x02,
  213. 0x1f, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
  214. 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x61, 0x6c, 0x69, 0x74, 0x79,
  215. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  216. }
  217. var (
  218. file_transport_internet_reality_config_proto_rawDescOnce sync.Once
  219. file_transport_internet_reality_config_proto_rawDescData = file_transport_internet_reality_config_proto_rawDesc
  220. )
  221. func file_transport_internet_reality_config_proto_rawDescGZIP() []byte {
  222. file_transport_internet_reality_config_proto_rawDescOnce.Do(func() {
  223. file_transport_internet_reality_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_reality_config_proto_rawDescData)
  224. })
  225. return file_transport_internet_reality_config_proto_rawDescData
  226. }
  227. var file_transport_internet_reality_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  228. var file_transport_internet_reality_config_proto_goTypes = []any{
  229. (*Config)(nil), // 0: xray.transport.internet.reality.Config
  230. }
  231. var file_transport_internet_reality_config_proto_depIdxs = []int32{
  232. 0, // [0:0] is the sub-list for method output_type
  233. 0, // [0:0] is the sub-list for method input_type
  234. 0, // [0:0] is the sub-list for extension type_name
  235. 0, // [0:0] is the sub-list for extension extendee
  236. 0, // [0:0] is the sub-list for field type_name
  237. }
  238. func init() { file_transport_internet_reality_config_proto_init() }
  239. func file_transport_internet_reality_config_proto_init() {
  240. if File_transport_internet_reality_config_proto != nil {
  241. return
  242. }
  243. type x struct{}
  244. out := protoimpl.TypeBuilder{
  245. File: protoimpl.DescBuilder{
  246. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  247. RawDescriptor: file_transport_internet_reality_config_proto_rawDesc,
  248. NumEnums: 0,
  249. NumMessages: 1,
  250. NumExtensions: 0,
  251. NumServices: 0,
  252. },
  253. GoTypes: file_transport_internet_reality_config_proto_goTypes,
  254. DependencyIndexes: file_transport_internet_reality_config_proto_depIdxs,
  255. MessageInfos: file_transport_internet_reality_config_proto_msgTypes,
  256. }.Build()
  257. File_transport_internet_reality_config_proto = out.File
  258. file_transport_internet_reality_config_proto_rawDesc = nil
  259. file_transport_internet_reality_config_proto_goTypes = nil
  260. file_transport_internet_reality_config_proto_depIdxs = nil
  261. }