github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/app/observatory/config.pb.go (about) 1 package observatory 2 3 import ( 4 _ "github.com/v2fly/v2ray-core/v5/common/protoext" 5 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 6 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 7 reflect "reflect" 8 sync "sync" 9 ) 10 11 const ( 12 // Verify that this generated code is sufficiently up-to-date. 13 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 14 // Verify that runtime/protoimpl is sufficiently up-to-date. 15 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 16 ) 17 18 type ObservationResult struct { 19 state protoimpl.MessageState 20 sizeCache protoimpl.SizeCache 21 unknownFields protoimpl.UnknownFields 22 23 Status []*OutboundStatus `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"` 24 } 25 26 func (x *ObservationResult) Reset() { 27 *x = ObservationResult{} 28 if protoimpl.UnsafeEnabled { 29 mi := &file_app_observatory_config_proto_msgTypes[0] 30 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 31 ms.StoreMessageInfo(mi) 32 } 33 } 34 35 func (x *ObservationResult) String() string { 36 return protoimpl.X.MessageStringOf(x) 37 } 38 39 func (*ObservationResult) ProtoMessage() {} 40 41 func (x *ObservationResult) ProtoReflect() protoreflect.Message { 42 mi := &file_app_observatory_config_proto_msgTypes[0] 43 if protoimpl.UnsafeEnabled && x != nil { 44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 45 if ms.LoadMessageInfo() == nil { 46 ms.StoreMessageInfo(mi) 47 } 48 return ms 49 } 50 return mi.MessageOf(x) 51 } 52 53 // Deprecated: Use ObservationResult.ProtoReflect.Descriptor instead. 54 func (*ObservationResult) Descriptor() ([]byte, []int) { 55 return file_app_observatory_config_proto_rawDescGZIP(), []int{0} 56 } 57 58 func (x *ObservationResult) GetStatus() []*OutboundStatus { 59 if x != nil { 60 return x.Status 61 } 62 return nil 63 } 64 65 type HealthPingMeasurementResult struct { 66 state protoimpl.MessageState 67 sizeCache protoimpl.SizeCache 68 unknownFields protoimpl.UnknownFields 69 70 All int64 `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"` 71 Fail int64 `protobuf:"varint,2,opt,name=fail,proto3" json:"fail,omitempty"` 72 Deviation int64 `protobuf:"varint,3,opt,name=deviation,proto3" json:"deviation,omitempty"` 73 Average int64 `protobuf:"varint,4,opt,name=average,proto3" json:"average,omitempty"` 74 Max int64 `protobuf:"varint,5,opt,name=max,proto3" json:"max,omitempty"` 75 Min int64 `protobuf:"varint,6,opt,name=min,proto3" json:"min,omitempty"` 76 } 77 78 func (x *HealthPingMeasurementResult) Reset() { 79 *x = HealthPingMeasurementResult{} 80 if protoimpl.UnsafeEnabled { 81 mi := &file_app_observatory_config_proto_msgTypes[1] 82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 83 ms.StoreMessageInfo(mi) 84 } 85 } 86 87 func (x *HealthPingMeasurementResult) String() string { 88 return protoimpl.X.MessageStringOf(x) 89 } 90 91 func (*HealthPingMeasurementResult) ProtoMessage() {} 92 93 func (x *HealthPingMeasurementResult) ProtoReflect() protoreflect.Message { 94 mi := &file_app_observatory_config_proto_msgTypes[1] 95 if protoimpl.UnsafeEnabled && x != nil { 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 if ms.LoadMessageInfo() == nil { 98 ms.StoreMessageInfo(mi) 99 } 100 return ms 101 } 102 return mi.MessageOf(x) 103 } 104 105 // Deprecated: Use HealthPingMeasurementResult.ProtoReflect.Descriptor instead. 106 func (*HealthPingMeasurementResult) Descriptor() ([]byte, []int) { 107 return file_app_observatory_config_proto_rawDescGZIP(), []int{1} 108 } 109 110 func (x *HealthPingMeasurementResult) GetAll() int64 { 111 if x != nil { 112 return x.All 113 } 114 return 0 115 } 116 117 func (x *HealthPingMeasurementResult) GetFail() int64 { 118 if x != nil { 119 return x.Fail 120 } 121 return 0 122 } 123 124 func (x *HealthPingMeasurementResult) GetDeviation() int64 { 125 if x != nil { 126 return x.Deviation 127 } 128 return 0 129 } 130 131 func (x *HealthPingMeasurementResult) GetAverage() int64 { 132 if x != nil { 133 return x.Average 134 } 135 return 0 136 } 137 138 func (x *HealthPingMeasurementResult) GetMax() int64 { 139 if x != nil { 140 return x.Max 141 } 142 return 0 143 } 144 145 func (x *HealthPingMeasurementResult) GetMin() int64 { 146 if x != nil { 147 return x.Min 148 } 149 return 0 150 } 151 152 type OutboundStatus struct { 153 state protoimpl.MessageState 154 sizeCache protoimpl.SizeCache 155 unknownFields protoimpl.UnknownFields 156 157 // @Document Whether this outbound is usable 158 // @Restriction ReadOnlyForUser 159 Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"` 160 // @Document The time for probe request to finish. 161 // @Type time.ms 162 // @Restriction ReadOnlyForUser 163 Delay int64 `protobuf:"varint,2,opt,name=delay,proto3" json:"delay,omitempty"` 164 // @Document The last error caused this outbound failed to relay probe request 165 // @Restriction NotMachineReadable 166 LastErrorReason string `protobuf:"bytes,3,opt,name=last_error_reason,json=lastErrorReason,proto3" json:"last_error_reason,omitempty"` 167 // @Document The outbound tag for this Server 168 // @Type id.outboundTag 169 OutboundTag string `protobuf:"bytes,4,opt,name=outbound_tag,json=outboundTag,proto3" json:"outbound_tag,omitempty"` 170 // @Document The time this outbound is known to be alive 171 // @Type id.outboundTag 172 LastSeenTime int64 `protobuf:"varint,5,opt,name=last_seen_time,json=lastSeenTime,proto3" json:"last_seen_time,omitempty"` 173 // @Document The time this outbound is tried 174 // @Type id.outboundTag 175 LastTryTime int64 `protobuf:"varint,6,opt,name=last_try_time,json=lastTryTime,proto3" json:"last_try_time,omitempty"` 176 HealthPing *HealthPingMeasurementResult `protobuf:"bytes,7,opt,name=health_ping,json=healthPing,proto3" json:"health_ping,omitempty"` 177 } 178 179 func (x *OutboundStatus) Reset() { 180 *x = OutboundStatus{} 181 if protoimpl.UnsafeEnabled { 182 mi := &file_app_observatory_config_proto_msgTypes[2] 183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 184 ms.StoreMessageInfo(mi) 185 } 186 } 187 188 func (x *OutboundStatus) String() string { 189 return protoimpl.X.MessageStringOf(x) 190 } 191 192 func (*OutboundStatus) ProtoMessage() {} 193 194 func (x *OutboundStatus) ProtoReflect() protoreflect.Message { 195 mi := &file_app_observatory_config_proto_msgTypes[2] 196 if protoimpl.UnsafeEnabled && x != nil { 197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 198 if ms.LoadMessageInfo() == nil { 199 ms.StoreMessageInfo(mi) 200 } 201 return ms 202 } 203 return mi.MessageOf(x) 204 } 205 206 // Deprecated: Use OutboundStatus.ProtoReflect.Descriptor instead. 207 func (*OutboundStatus) Descriptor() ([]byte, []int) { 208 return file_app_observatory_config_proto_rawDescGZIP(), []int{2} 209 } 210 211 func (x *OutboundStatus) GetAlive() bool { 212 if x != nil { 213 return x.Alive 214 } 215 return false 216 } 217 218 func (x *OutboundStatus) GetDelay() int64 { 219 if x != nil { 220 return x.Delay 221 } 222 return 0 223 } 224 225 func (x *OutboundStatus) GetLastErrorReason() string { 226 if x != nil { 227 return x.LastErrorReason 228 } 229 return "" 230 } 231 232 func (x *OutboundStatus) GetOutboundTag() string { 233 if x != nil { 234 return x.OutboundTag 235 } 236 return "" 237 } 238 239 func (x *OutboundStatus) GetLastSeenTime() int64 { 240 if x != nil { 241 return x.LastSeenTime 242 } 243 return 0 244 } 245 246 func (x *OutboundStatus) GetLastTryTime() int64 { 247 if x != nil { 248 return x.LastTryTime 249 } 250 return 0 251 } 252 253 func (x *OutboundStatus) GetHealthPing() *HealthPingMeasurementResult { 254 if x != nil { 255 return x.HealthPing 256 } 257 return nil 258 } 259 260 type ProbeResult struct { 261 state protoimpl.MessageState 262 sizeCache protoimpl.SizeCache 263 unknownFields protoimpl.UnknownFields 264 265 // @Document Whether this outbound is usable 266 // @Restriction ReadOnlyForUser 267 Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"` 268 // @Document The time for probe request to finish. 269 // @Type time.ms 270 // @Restriction ReadOnlyForUser 271 Delay int64 `protobuf:"varint,2,opt,name=delay,proto3" json:"delay,omitempty"` 272 // @Document The error caused this outbound failed to relay probe request 273 // @Restriction NotMachineReadable 274 LastErrorReason string `protobuf:"bytes,3,opt,name=last_error_reason,json=lastErrorReason,proto3" json:"last_error_reason,omitempty"` 275 } 276 277 func (x *ProbeResult) Reset() { 278 *x = ProbeResult{} 279 if protoimpl.UnsafeEnabled { 280 mi := &file_app_observatory_config_proto_msgTypes[3] 281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 282 ms.StoreMessageInfo(mi) 283 } 284 } 285 286 func (x *ProbeResult) String() string { 287 return protoimpl.X.MessageStringOf(x) 288 } 289 290 func (*ProbeResult) ProtoMessage() {} 291 292 func (x *ProbeResult) ProtoReflect() protoreflect.Message { 293 mi := &file_app_observatory_config_proto_msgTypes[3] 294 if protoimpl.UnsafeEnabled && x != nil { 295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 296 if ms.LoadMessageInfo() == nil { 297 ms.StoreMessageInfo(mi) 298 } 299 return ms 300 } 301 return mi.MessageOf(x) 302 } 303 304 // Deprecated: Use ProbeResult.ProtoReflect.Descriptor instead. 305 func (*ProbeResult) Descriptor() ([]byte, []int) { 306 return file_app_observatory_config_proto_rawDescGZIP(), []int{3} 307 } 308 309 func (x *ProbeResult) GetAlive() bool { 310 if x != nil { 311 return x.Alive 312 } 313 return false 314 } 315 316 func (x *ProbeResult) GetDelay() int64 { 317 if x != nil { 318 return x.Delay 319 } 320 return 0 321 } 322 323 func (x *ProbeResult) GetLastErrorReason() string { 324 if x != nil { 325 return x.LastErrorReason 326 } 327 return "" 328 } 329 330 type Intensity struct { 331 state protoimpl.MessageState 332 sizeCache protoimpl.SizeCache 333 unknownFields protoimpl.UnknownFields 334 335 // @Document The time interval for a probe request in ms. 336 // @Type time.ms 337 ProbeInterval uint32 `protobuf:"varint,1,opt,name=probe_interval,json=probeInterval,proto3" json:"probe_interval,omitempty"` 338 } 339 340 func (x *Intensity) Reset() { 341 *x = Intensity{} 342 if protoimpl.UnsafeEnabled { 343 mi := &file_app_observatory_config_proto_msgTypes[4] 344 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 345 ms.StoreMessageInfo(mi) 346 } 347 } 348 349 func (x *Intensity) String() string { 350 return protoimpl.X.MessageStringOf(x) 351 } 352 353 func (*Intensity) ProtoMessage() {} 354 355 func (x *Intensity) ProtoReflect() protoreflect.Message { 356 mi := &file_app_observatory_config_proto_msgTypes[4] 357 if protoimpl.UnsafeEnabled && x != nil { 358 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 359 if ms.LoadMessageInfo() == nil { 360 ms.StoreMessageInfo(mi) 361 } 362 return ms 363 } 364 return mi.MessageOf(x) 365 } 366 367 // Deprecated: Use Intensity.ProtoReflect.Descriptor instead. 368 func (*Intensity) Descriptor() ([]byte, []int) { 369 return file_app_observatory_config_proto_rawDescGZIP(), []int{4} 370 } 371 372 func (x *Intensity) GetProbeInterval() uint32 { 373 if x != nil { 374 return x.ProbeInterval 375 } 376 return 0 377 } 378 379 type Config struct { 380 state protoimpl.MessageState 381 sizeCache protoimpl.SizeCache 382 unknownFields protoimpl.UnknownFields 383 384 // @Document The selectors for outbound under observation 385 SubjectSelector []string `protobuf:"bytes,2,rep,name=subject_selector,json=subjectSelector,proto3" json:"subject_selector,omitempty"` 386 ProbeUrl string `protobuf:"bytes,3,opt,name=probe_url,json=probeUrl,proto3" json:"probe_url,omitempty"` 387 ProbeInterval int64 `protobuf:"varint,4,opt,name=probe_interval,json=probeInterval,proto3" json:"probe_interval,omitempty"` 388 } 389 390 func (x *Config) Reset() { 391 *x = Config{} 392 if protoimpl.UnsafeEnabled { 393 mi := &file_app_observatory_config_proto_msgTypes[5] 394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 395 ms.StoreMessageInfo(mi) 396 } 397 } 398 399 func (x *Config) String() string { 400 return protoimpl.X.MessageStringOf(x) 401 } 402 403 func (*Config) ProtoMessage() {} 404 405 func (x *Config) ProtoReflect() protoreflect.Message { 406 mi := &file_app_observatory_config_proto_msgTypes[5] 407 if protoimpl.UnsafeEnabled && x != nil { 408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 409 if ms.LoadMessageInfo() == nil { 410 ms.StoreMessageInfo(mi) 411 } 412 return ms 413 } 414 return mi.MessageOf(x) 415 } 416 417 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 418 func (*Config) Descriptor() ([]byte, []int) { 419 return file_app_observatory_config_proto_rawDescGZIP(), []int{5} 420 } 421 422 func (x *Config) GetSubjectSelector() []string { 423 if x != nil { 424 return x.SubjectSelector 425 } 426 return nil 427 } 428 429 func (x *Config) GetProbeUrl() string { 430 if x != nil { 431 return x.ProbeUrl 432 } 433 return "" 434 } 435 436 func (x *Config) GetProbeInterval() int64 { 437 if x != nil { 438 return x.ProbeInterval 439 } 440 return 0 441 } 442 443 var File_app_observatory_config_proto protoreflect.FileDescriptor 444 445 var file_app_observatory_config_proto_rawDesc = []byte{ 446 0x0a, 0x1c, 0x61, 0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 447 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 448 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 449 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 450 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 451 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x11, 452 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 453 0x74, 0x12, 0x42, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 454 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 455 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x4f, 456 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 457 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x1b, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 458 0x50, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 459 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 460 0x28, 0x03, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x61, 0x69, 0x6c, 0x18, 461 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x66, 0x61, 0x69, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x64, 462 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 463 0x64, 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x76, 0x65, 464 0x72, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x76, 0x65, 0x72, 465 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 466 0x52, 0x03, 0x6d, 0x61, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 467 0x28, 0x03, 0x52, 0x03, 0x6d, 0x69, 0x6e, 0x22, 0xaf, 0x02, 0x0a, 0x0e, 0x4f, 0x75, 0x74, 0x62, 468 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 469 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65, 470 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 471 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65, 472 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 473 0x09, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 474 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x74, 475 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 476 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x65, 477 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6c, 478 0x61, 0x73, 0x74, 0x53, 0x65, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6c, 479 0x61, 0x73, 0x74, 0x5f, 0x74, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 480 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 481 0x58, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x07, 482 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 483 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 484 0x79, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x50, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x61, 0x73, 485 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0a, 0x68, 486 0x65, 0x61, 0x6c, 0x74, 0x68, 0x50, 0x69, 0x6e, 0x67, 0x22, 0x65, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 487 0x62, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x76, 488 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x14, 489 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x64, 490 0x65, 0x6c, 0x61, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65, 0x72, 0x72, 491 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 492 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 493 0x22, 0x32, 0x0a, 0x09, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a, 494 0x0e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 495 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x49, 0x6e, 0x74, 0x65, 496 0x72, 0x76, 0x61, 0x6c, 0x22, 0x9d, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 497 0x29, 0x0a, 0x10, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 498 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x75, 0x62, 0x6a, 0x65, 499 0x63, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x72, 500 0x6f, 0x62, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 501 0x72, 0x6f, 0x62, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x62, 0x65, 502 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 503 0x0d, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x3a, 0x24, 504 0x82, 0xb5, 0x18, 0x20, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x15, 0x62, 505 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 506 0x74, 0x6f, 0x72, 0x79, 0x42, 0x6f, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 507 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 508 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 509 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 510 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 511 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0xaa, 0x02, 0x1a, 0x56, 0x32, 0x52, 0x61, 0x79, 512 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 513 0x61, 0x74, 0x6f, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 514 } 515 516 var ( 517 file_app_observatory_config_proto_rawDescOnce sync.Once 518 file_app_observatory_config_proto_rawDescData = file_app_observatory_config_proto_rawDesc 519 ) 520 521 func file_app_observatory_config_proto_rawDescGZIP() []byte { 522 file_app_observatory_config_proto_rawDescOnce.Do(func() { 523 file_app_observatory_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_observatory_config_proto_rawDescData) 524 }) 525 return file_app_observatory_config_proto_rawDescData 526 } 527 528 var file_app_observatory_config_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 529 var file_app_observatory_config_proto_goTypes = []interface{}{ 530 (*ObservationResult)(nil), // 0: v2ray.core.app.observatory.ObservationResult 531 (*HealthPingMeasurementResult)(nil), // 1: v2ray.core.app.observatory.HealthPingMeasurementResult 532 (*OutboundStatus)(nil), // 2: v2ray.core.app.observatory.OutboundStatus 533 (*ProbeResult)(nil), // 3: v2ray.core.app.observatory.ProbeResult 534 (*Intensity)(nil), // 4: v2ray.core.app.observatory.Intensity 535 (*Config)(nil), // 5: v2ray.core.app.observatory.Config 536 } 537 var file_app_observatory_config_proto_depIdxs = []int32{ 538 2, // 0: v2ray.core.app.observatory.ObservationResult.status:type_name -> v2ray.core.app.observatory.OutboundStatus 539 1, // 1: v2ray.core.app.observatory.OutboundStatus.health_ping:type_name -> v2ray.core.app.observatory.HealthPingMeasurementResult 540 2, // [2:2] is the sub-list for method output_type 541 2, // [2:2] is the sub-list for method input_type 542 2, // [2:2] is the sub-list for extension type_name 543 2, // [2:2] is the sub-list for extension extendee 544 0, // [0:2] is the sub-list for field type_name 545 } 546 547 func init() { file_app_observatory_config_proto_init() } 548 func file_app_observatory_config_proto_init() { 549 if File_app_observatory_config_proto != nil { 550 return 551 } 552 if !protoimpl.UnsafeEnabled { 553 file_app_observatory_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 554 switch v := v.(*ObservationResult); i { 555 case 0: 556 return &v.state 557 case 1: 558 return &v.sizeCache 559 case 2: 560 return &v.unknownFields 561 default: 562 return nil 563 } 564 } 565 file_app_observatory_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 566 switch v := v.(*HealthPingMeasurementResult); i { 567 case 0: 568 return &v.state 569 case 1: 570 return &v.sizeCache 571 case 2: 572 return &v.unknownFields 573 default: 574 return nil 575 } 576 } 577 file_app_observatory_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 578 switch v := v.(*OutboundStatus); i { 579 case 0: 580 return &v.state 581 case 1: 582 return &v.sizeCache 583 case 2: 584 return &v.unknownFields 585 default: 586 return nil 587 } 588 } 589 file_app_observatory_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 590 switch v := v.(*ProbeResult); i { 591 case 0: 592 return &v.state 593 case 1: 594 return &v.sizeCache 595 case 2: 596 return &v.unknownFields 597 default: 598 return nil 599 } 600 } 601 file_app_observatory_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 602 switch v := v.(*Intensity); i { 603 case 0: 604 return &v.state 605 case 1: 606 return &v.sizeCache 607 case 2: 608 return &v.unknownFields 609 default: 610 return nil 611 } 612 } 613 file_app_observatory_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 614 switch v := v.(*Config); i { 615 case 0: 616 return &v.state 617 case 1: 618 return &v.sizeCache 619 case 2: 620 return &v.unknownFields 621 default: 622 return nil 623 } 624 } 625 } 626 type x struct{} 627 out := protoimpl.TypeBuilder{ 628 File: protoimpl.DescBuilder{ 629 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 630 RawDescriptor: file_app_observatory_config_proto_rawDesc, 631 NumEnums: 0, 632 NumMessages: 6, 633 NumExtensions: 0, 634 NumServices: 0, 635 }, 636 GoTypes: file_app_observatory_config_proto_goTypes, 637 DependencyIndexes: file_app_observatory_config_proto_depIdxs, 638 MessageInfos: file_app_observatory_config_proto_msgTypes, 639 }.Build() 640 File_app_observatory_config_proto = out.File 641 file_app_observatory_config_proto_rawDesc = nil 642 file_app_observatory_config_proto_goTypes = nil 643 file_app_observatory_config_proto_depIdxs = nil 644 }