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