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