github.com/xraypb/xray-core@v1.6.6/app/observatory/config.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.18.0 5 // source: app/observatory/config.proto 6 7 package observatory 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 ObservationResult struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Status []*OutboundStatus `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"` 29 } 30 31 func (x *ObservationResult) Reset() { 32 *x = ObservationResult{} 33 if protoimpl.UnsafeEnabled { 34 mi := &file_app_observatory_config_proto_msgTypes[0] 35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 36 ms.StoreMessageInfo(mi) 37 } 38 } 39 40 func (x *ObservationResult) String() string { 41 return protoimpl.X.MessageStringOf(x) 42 } 43 44 func (*ObservationResult) ProtoMessage() {} 45 46 func (x *ObservationResult) ProtoReflect() protoreflect.Message { 47 mi := &file_app_observatory_config_proto_msgTypes[0] 48 if protoimpl.UnsafeEnabled && x != nil { 49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 50 if ms.LoadMessageInfo() == nil { 51 ms.StoreMessageInfo(mi) 52 } 53 return ms 54 } 55 return mi.MessageOf(x) 56 } 57 58 // Deprecated: Use ObservationResult.ProtoReflect.Descriptor instead. 59 func (*ObservationResult) Descriptor() ([]byte, []int) { 60 return file_app_observatory_config_proto_rawDescGZIP(), []int{0} 61 } 62 63 func (x *ObservationResult) GetStatus() []*OutboundStatus { 64 if x != nil { 65 return x.Status 66 } 67 return nil 68 } 69 70 type OutboundStatus struct { 71 state protoimpl.MessageState 72 sizeCache protoimpl.SizeCache 73 unknownFields protoimpl.UnknownFields 74 75 // @Document Whether this outbound is usable 76 // @Restriction ReadOnlyForUser 77 Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"` 78 // @Document The time for probe request to finish. 79 // @Type time.ms 80 // @Restriction ReadOnlyForUser 81 Delay int64 `protobuf:"varint,2,opt,name=delay,proto3" json:"delay,omitempty"` 82 // @Document The last error caused this outbound failed to relay probe request 83 // @Restriction NotMachineReadable 84 LastErrorReason string `protobuf:"bytes,3,opt,name=last_error_reason,json=lastErrorReason,proto3" json:"last_error_reason,omitempty"` 85 // @Document The outbound tag for this Server 86 // @Type id.outboundTag 87 OutboundTag string `protobuf:"bytes,4,opt,name=outbound_tag,json=outboundTag,proto3" json:"outbound_tag,omitempty"` 88 // @Document The time this outbound is known to be alive 89 // @Type id.outboundTag 90 LastSeenTime int64 `protobuf:"varint,5,opt,name=last_seen_time,json=lastSeenTime,proto3" json:"last_seen_time,omitempty"` 91 // @Document The time this outbound is tried 92 // @Type id.outboundTag 93 LastTryTime int64 `protobuf:"varint,6,opt,name=last_try_time,json=lastTryTime,proto3" json:"last_try_time,omitempty"` 94 } 95 96 func (x *OutboundStatus) Reset() { 97 *x = OutboundStatus{} 98 if protoimpl.UnsafeEnabled { 99 mi := &file_app_observatory_config_proto_msgTypes[1] 100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 101 ms.StoreMessageInfo(mi) 102 } 103 } 104 105 func (x *OutboundStatus) String() string { 106 return protoimpl.X.MessageStringOf(x) 107 } 108 109 func (*OutboundStatus) ProtoMessage() {} 110 111 func (x *OutboundStatus) ProtoReflect() protoreflect.Message { 112 mi := &file_app_observatory_config_proto_msgTypes[1] 113 if protoimpl.UnsafeEnabled && x != nil { 114 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 115 if ms.LoadMessageInfo() == nil { 116 ms.StoreMessageInfo(mi) 117 } 118 return ms 119 } 120 return mi.MessageOf(x) 121 } 122 123 // Deprecated: Use OutboundStatus.ProtoReflect.Descriptor instead. 124 func (*OutboundStatus) Descriptor() ([]byte, []int) { 125 return file_app_observatory_config_proto_rawDescGZIP(), []int{1} 126 } 127 128 func (x *OutboundStatus) GetAlive() bool { 129 if x != nil { 130 return x.Alive 131 } 132 return false 133 } 134 135 func (x *OutboundStatus) GetDelay() int64 { 136 if x != nil { 137 return x.Delay 138 } 139 return 0 140 } 141 142 func (x *OutboundStatus) GetLastErrorReason() string { 143 if x != nil { 144 return x.LastErrorReason 145 } 146 return "" 147 } 148 149 func (x *OutboundStatus) GetOutboundTag() string { 150 if x != nil { 151 return x.OutboundTag 152 } 153 return "" 154 } 155 156 func (x *OutboundStatus) GetLastSeenTime() int64 { 157 if x != nil { 158 return x.LastSeenTime 159 } 160 return 0 161 } 162 163 func (x *OutboundStatus) GetLastTryTime() int64 { 164 if x != nil { 165 return x.LastTryTime 166 } 167 return 0 168 } 169 170 type ProbeResult struct { 171 state protoimpl.MessageState 172 sizeCache protoimpl.SizeCache 173 unknownFields protoimpl.UnknownFields 174 175 // @Document Whether this outbound is usable 176 // @Restriction ReadOnlyForUser 177 Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"` 178 // @Document The time for probe request to finish. 179 // @Type time.ms 180 // @Restriction ReadOnlyForUser 181 Delay int64 `protobuf:"varint,2,opt,name=delay,proto3" json:"delay,omitempty"` 182 // @Document The error caused this outbound failed to relay probe request 183 // @Restriction NotMachineReadable 184 LastErrorReason string `protobuf:"bytes,3,opt,name=last_error_reason,json=lastErrorReason,proto3" json:"last_error_reason,omitempty"` 185 } 186 187 func (x *ProbeResult) Reset() { 188 *x = ProbeResult{} 189 if protoimpl.UnsafeEnabled { 190 mi := &file_app_observatory_config_proto_msgTypes[2] 191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 192 ms.StoreMessageInfo(mi) 193 } 194 } 195 196 func (x *ProbeResult) String() string { 197 return protoimpl.X.MessageStringOf(x) 198 } 199 200 func (*ProbeResult) ProtoMessage() {} 201 202 func (x *ProbeResult) ProtoReflect() protoreflect.Message { 203 mi := &file_app_observatory_config_proto_msgTypes[2] 204 if protoimpl.UnsafeEnabled && x != nil { 205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 206 if ms.LoadMessageInfo() == nil { 207 ms.StoreMessageInfo(mi) 208 } 209 return ms 210 } 211 return mi.MessageOf(x) 212 } 213 214 // Deprecated: Use ProbeResult.ProtoReflect.Descriptor instead. 215 func (*ProbeResult) Descriptor() ([]byte, []int) { 216 return file_app_observatory_config_proto_rawDescGZIP(), []int{2} 217 } 218 219 func (x *ProbeResult) GetAlive() bool { 220 if x != nil { 221 return x.Alive 222 } 223 return false 224 } 225 226 func (x *ProbeResult) GetDelay() int64 { 227 if x != nil { 228 return x.Delay 229 } 230 return 0 231 } 232 233 func (x *ProbeResult) GetLastErrorReason() string { 234 if x != nil { 235 return x.LastErrorReason 236 } 237 return "" 238 } 239 240 type Intensity struct { 241 state protoimpl.MessageState 242 sizeCache protoimpl.SizeCache 243 unknownFields protoimpl.UnknownFields 244 245 // @Document The time interval for a probe request in ms. 246 // @Type time.ms 247 ProbeInterval uint32 `protobuf:"varint,1,opt,name=probe_interval,json=probeInterval,proto3" json:"probe_interval,omitempty"` 248 } 249 250 func (x *Intensity) Reset() { 251 *x = Intensity{} 252 if protoimpl.UnsafeEnabled { 253 mi := &file_app_observatory_config_proto_msgTypes[3] 254 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 255 ms.StoreMessageInfo(mi) 256 } 257 } 258 259 func (x *Intensity) String() string { 260 return protoimpl.X.MessageStringOf(x) 261 } 262 263 func (*Intensity) ProtoMessage() {} 264 265 func (x *Intensity) ProtoReflect() protoreflect.Message { 266 mi := &file_app_observatory_config_proto_msgTypes[3] 267 if protoimpl.UnsafeEnabled && x != nil { 268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 269 if ms.LoadMessageInfo() == nil { 270 ms.StoreMessageInfo(mi) 271 } 272 return ms 273 } 274 return mi.MessageOf(x) 275 } 276 277 // Deprecated: Use Intensity.ProtoReflect.Descriptor instead. 278 func (*Intensity) Descriptor() ([]byte, []int) { 279 return file_app_observatory_config_proto_rawDescGZIP(), []int{3} 280 } 281 282 func (x *Intensity) GetProbeInterval() uint32 { 283 if x != nil { 284 return x.ProbeInterval 285 } 286 return 0 287 } 288 289 type Config struct { 290 state protoimpl.MessageState 291 sizeCache protoimpl.SizeCache 292 unknownFields protoimpl.UnknownFields 293 294 // @Document The selectors for outbound under observation 295 SubjectSelector []string `protobuf:"bytes,2,rep,name=subject_selector,json=subjectSelector,proto3" json:"subject_selector,omitempty"` 296 ProbeUrl string `protobuf:"bytes,3,opt,name=probe_url,json=probeUrl,proto3" json:"probe_url,omitempty"` 297 ProbeInterval int64 `protobuf:"varint,4,opt,name=probe_interval,json=probeInterval,proto3" json:"probe_interval,omitempty"` 298 EnableConcurrency bool `protobuf:"varint,5,opt,name=enable_concurrency,json=enableConcurrency,proto3" json:"enable_concurrency,omitempty"` 299 } 300 301 func (x *Config) Reset() { 302 *x = Config{} 303 if protoimpl.UnsafeEnabled { 304 mi := &file_app_observatory_config_proto_msgTypes[4] 305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 306 ms.StoreMessageInfo(mi) 307 } 308 } 309 310 func (x *Config) String() string { 311 return protoimpl.X.MessageStringOf(x) 312 } 313 314 func (*Config) ProtoMessage() {} 315 316 func (x *Config) ProtoReflect() protoreflect.Message { 317 mi := &file_app_observatory_config_proto_msgTypes[4] 318 if protoimpl.UnsafeEnabled && x != nil { 319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 320 if ms.LoadMessageInfo() == nil { 321 ms.StoreMessageInfo(mi) 322 } 323 return ms 324 } 325 return mi.MessageOf(x) 326 } 327 328 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 329 func (*Config) Descriptor() ([]byte, []int) { 330 return file_app_observatory_config_proto_rawDescGZIP(), []int{4} 331 } 332 333 func (x *Config) GetSubjectSelector() []string { 334 if x != nil { 335 return x.SubjectSelector 336 } 337 return nil 338 } 339 340 func (x *Config) GetProbeUrl() string { 341 if x != nil { 342 return x.ProbeUrl 343 } 344 return "" 345 } 346 347 func (x *Config) GetProbeInterval() int64 { 348 if x != nil { 349 return x.ProbeInterval 350 } 351 return 0 352 } 353 354 func (x *Config) GetEnableConcurrency() bool { 355 if x != nil { 356 return x.EnableConcurrency 357 } 358 return false 359 } 360 361 var File_app_observatory_config_proto protoreflect.FileDescriptor 362 363 var file_app_observatory_config_proto_rawDesc = []byte{ 364 0x0a, 0x1c, 0x61, 0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 365 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 366 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 367 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x56, 0x0a, 0x11, 0x4f, 0x62, 0x73, 368 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x41, 369 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 370 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 371 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 372 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 373 0x73, 0x22, 0xd5, 0x01, 0x0a, 0x0e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 374 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 375 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 376 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 377 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 378 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x61, 0x73, 379 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 380 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 381 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 382 0x24, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 383 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x65, 0x65, 384 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x72, 385 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61, 386 0x73, 0x74, 0x54, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x65, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 387 0x62, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x76, 388 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x14, 389 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x64, 390 0x65, 0x6c, 0x61, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65, 0x72, 0x72, 391 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 392 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 393 0x22, 0x32, 0x0a, 0x09, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a, 394 0x0e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 395 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x49, 0x6e, 0x74, 0x65, 396 0x72, 0x76, 0x61, 0x6c, 0x22, 0xa6, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 397 0x29, 0x0a, 0x10, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 398 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x75, 0x62, 0x6a, 0x65, 399 0x63, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x72, 400 0x6f, 0x62, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 401 0x72, 0x6f, 0x62, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x62, 0x65, 402 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 403 0x0d, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x2d, 404 0x0a, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 405 0x65, 0x6e, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x65, 0x6e, 0x61, 0x62, 406 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x42, 0x5e, 0x0a, 407 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 408 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x01, 0x5a, 0x29, 0x67, 0x69, 0x74, 409 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 410 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 411 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0xaa, 0x02, 0x14, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x41, 0x70, 412 0x70, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x62, 0x06, 0x70, 413 0x72, 0x6f, 0x74, 0x6f, 0x33, 414 } 415 416 var ( 417 file_app_observatory_config_proto_rawDescOnce sync.Once 418 file_app_observatory_config_proto_rawDescData = file_app_observatory_config_proto_rawDesc 419 ) 420 421 func file_app_observatory_config_proto_rawDescGZIP() []byte { 422 file_app_observatory_config_proto_rawDescOnce.Do(func() { 423 file_app_observatory_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_observatory_config_proto_rawDescData) 424 }) 425 return file_app_observatory_config_proto_rawDescData 426 } 427 428 var file_app_observatory_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 429 var file_app_observatory_config_proto_goTypes = []interface{}{ 430 (*ObservationResult)(nil), // 0: xray.core.app.observatory.ObservationResult 431 (*OutboundStatus)(nil), // 1: xray.core.app.observatory.OutboundStatus 432 (*ProbeResult)(nil), // 2: xray.core.app.observatory.ProbeResult 433 (*Intensity)(nil), // 3: xray.core.app.observatory.Intensity 434 (*Config)(nil), // 4: xray.core.app.observatory.Config 435 } 436 var file_app_observatory_config_proto_depIdxs = []int32{ 437 1, // 0: xray.core.app.observatory.ObservationResult.status:type_name -> xray.core.app.observatory.OutboundStatus 438 1, // [1:1] is the sub-list for method output_type 439 1, // [1:1] is the sub-list for method input_type 440 1, // [1:1] is the sub-list for extension type_name 441 1, // [1:1] is the sub-list for extension extendee 442 0, // [0:1] is the sub-list for field type_name 443 } 444 445 func init() { file_app_observatory_config_proto_init() } 446 func file_app_observatory_config_proto_init() { 447 if File_app_observatory_config_proto != nil { 448 return 449 } 450 if !protoimpl.UnsafeEnabled { 451 file_app_observatory_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 452 switch v := v.(*ObservationResult); i { 453 case 0: 454 return &v.state 455 case 1: 456 return &v.sizeCache 457 case 2: 458 return &v.unknownFields 459 default: 460 return nil 461 } 462 } 463 file_app_observatory_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 464 switch v := v.(*OutboundStatus); i { 465 case 0: 466 return &v.state 467 case 1: 468 return &v.sizeCache 469 case 2: 470 return &v.unknownFields 471 default: 472 return nil 473 } 474 } 475 file_app_observatory_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 476 switch v := v.(*ProbeResult); i { 477 case 0: 478 return &v.state 479 case 1: 480 return &v.sizeCache 481 case 2: 482 return &v.unknownFields 483 default: 484 return nil 485 } 486 } 487 file_app_observatory_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 488 switch v := v.(*Intensity); i { 489 case 0: 490 return &v.state 491 case 1: 492 return &v.sizeCache 493 case 2: 494 return &v.unknownFields 495 default: 496 return nil 497 } 498 } 499 file_app_observatory_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 500 switch v := v.(*Config); i { 501 case 0: 502 return &v.state 503 case 1: 504 return &v.sizeCache 505 case 2: 506 return &v.unknownFields 507 default: 508 return nil 509 } 510 } 511 } 512 type x struct{} 513 out := protoimpl.TypeBuilder{ 514 File: protoimpl.DescBuilder{ 515 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 516 RawDescriptor: file_app_observatory_config_proto_rawDesc, 517 NumEnums: 0, 518 NumMessages: 5, 519 NumExtensions: 0, 520 NumServices: 0, 521 }, 522 GoTypes: file_app_observatory_config_proto_goTypes, 523 DependencyIndexes: file_app_observatory_config_proto_depIdxs, 524 MessageInfos: file_app_observatory_config_proto_msgTypes, 525 }.Build() 526 File_app_observatory_config_proto = out.File 527 file_app_observatory_config_proto_rawDesc = nil 528 file_app_observatory_config_proto_goTypes = nil 529 file_app_observatory_config_proto_depIdxs = nil 530 }