github.com/v2fly/v2ray-core/v4@v4.45.2/app/observatory/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.27.1
     4  // 	protoc        v3.17.3
     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  }
   299  
   300  func (x *Config) Reset() {
   301  	*x = Config{}
   302  	if protoimpl.UnsafeEnabled {
   303  		mi := &file_app_observatory_config_proto_msgTypes[4]
   304  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   305  		ms.StoreMessageInfo(mi)
   306  	}
   307  }
   308  
   309  func (x *Config) String() string {
   310  	return protoimpl.X.MessageStringOf(x)
   311  }
   312  
   313  func (*Config) ProtoMessage() {}
   314  
   315  func (x *Config) ProtoReflect() protoreflect.Message {
   316  	mi := &file_app_observatory_config_proto_msgTypes[4]
   317  	if protoimpl.UnsafeEnabled && x != nil {
   318  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   319  		if ms.LoadMessageInfo() == nil {
   320  			ms.StoreMessageInfo(mi)
   321  		}
   322  		return ms
   323  	}
   324  	return mi.MessageOf(x)
   325  }
   326  
   327  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
   328  func (*Config) Descriptor() ([]byte, []int) {
   329  	return file_app_observatory_config_proto_rawDescGZIP(), []int{4}
   330  }
   331  
   332  func (x *Config) GetSubjectSelector() []string {
   333  	if x != nil {
   334  		return x.SubjectSelector
   335  	}
   336  	return nil
   337  }
   338  
   339  func (x *Config) GetProbeUrl() string {
   340  	if x != nil {
   341  		return x.ProbeUrl
   342  	}
   343  	return ""
   344  }
   345  
   346  func (x *Config) GetProbeInterval() int64 {
   347  	if x != nil {
   348  		return x.ProbeInterval
   349  	}
   350  	return 0
   351  }
   352  
   353  var File_app_observatory_config_proto protoreflect.FileDescriptor
   354  
   355  var file_app_observatory_config_proto_rawDesc = []byte{
   356  	0x0a, 0x1c, 0x61, 0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72,
   357  	0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a,
   358  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f,
   359  	0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x57, 0x0a, 0x11, 0x4f, 0x62,
   360  	0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
   361  	0x42, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
   362  	0x2a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
   363  	0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x4f, 0x75, 0x74,
   364  	0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61,
   365  	0x74, 0x75, 0x73, 0x22, 0xd5, 0x01, 0x0a, 0x0e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64,
   366  	0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18,
   367  	0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05,
   368  	0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x64, 0x65, 0x6c,
   369  	0x61, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72,
   370  	0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c,
   371  	0x61, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x21,
   372  	0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x04,
   373  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61,
   374  	0x67, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x5f, 0x74,
   375  	0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x53,
   376  	0x65, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x5f,
   377  	0x74, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
   378  	0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x65, 0x0a, 0x0b, 0x50,
   379  	0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c,
   380  	0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65,
   381  	0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
   382  	0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65,
   383  	0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
   384  	0x09, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73,
   385  	0x6f, 0x6e, 0x22, 0x32, 0x0a, 0x09, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x79, 0x12,
   386  	0x25, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
   387  	0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x49, 0x6e,
   388  	0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0x77, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   389  	0x12, 0x29, 0x0a, 0x10, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65,
   390  	0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x75, 0x62, 0x6a,
   391  	0x65, 0x63, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70,
   392  	0x72, 0x6f, 0x62, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
   393  	0x70, 0x72, 0x6f, 0x62, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x62,
   394  	0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
   395  	0x52, 0x0d, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x42,
   396  	0x6f, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
   397  	0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72,
   398  	0x79, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   399  	0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65,
   400  	0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74,
   401  	0x6f, 0x72, 0x79, 0xaa, 0x02, 0x1a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65,
   402  	0x2e, 0x41, 0x70, 0x70, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79,
   403  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   404  }
   405  
   406  var (
   407  	file_app_observatory_config_proto_rawDescOnce sync.Once
   408  	file_app_observatory_config_proto_rawDescData = file_app_observatory_config_proto_rawDesc
   409  )
   410  
   411  func file_app_observatory_config_proto_rawDescGZIP() []byte {
   412  	file_app_observatory_config_proto_rawDescOnce.Do(func() {
   413  		file_app_observatory_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_observatory_config_proto_rawDescData)
   414  	})
   415  	return file_app_observatory_config_proto_rawDescData
   416  }
   417  
   418  var file_app_observatory_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   419  var file_app_observatory_config_proto_goTypes = []interface{}{
   420  	(*ObservationResult)(nil), // 0: v2ray.core.app.observatory.ObservationResult
   421  	(*OutboundStatus)(nil),    // 1: v2ray.core.app.observatory.OutboundStatus
   422  	(*ProbeResult)(nil),       // 2: v2ray.core.app.observatory.ProbeResult
   423  	(*Intensity)(nil),         // 3: v2ray.core.app.observatory.Intensity
   424  	(*Config)(nil),            // 4: v2ray.core.app.observatory.Config
   425  }
   426  var file_app_observatory_config_proto_depIdxs = []int32{
   427  	1, // 0: v2ray.core.app.observatory.ObservationResult.status:type_name -> v2ray.core.app.observatory.OutboundStatus
   428  	1, // [1:1] is the sub-list for method output_type
   429  	1, // [1:1] is the sub-list for method input_type
   430  	1, // [1:1] is the sub-list for extension type_name
   431  	1, // [1:1] is the sub-list for extension extendee
   432  	0, // [0:1] is the sub-list for field type_name
   433  }
   434  
   435  func init() { file_app_observatory_config_proto_init() }
   436  func file_app_observatory_config_proto_init() {
   437  	if File_app_observatory_config_proto != nil {
   438  		return
   439  	}
   440  	if !protoimpl.UnsafeEnabled {
   441  		file_app_observatory_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   442  			switch v := v.(*ObservationResult); i {
   443  			case 0:
   444  				return &v.state
   445  			case 1:
   446  				return &v.sizeCache
   447  			case 2:
   448  				return &v.unknownFields
   449  			default:
   450  				return nil
   451  			}
   452  		}
   453  		file_app_observatory_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   454  			switch v := v.(*OutboundStatus); i {
   455  			case 0:
   456  				return &v.state
   457  			case 1:
   458  				return &v.sizeCache
   459  			case 2:
   460  				return &v.unknownFields
   461  			default:
   462  				return nil
   463  			}
   464  		}
   465  		file_app_observatory_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   466  			switch v := v.(*ProbeResult); i {
   467  			case 0:
   468  				return &v.state
   469  			case 1:
   470  				return &v.sizeCache
   471  			case 2:
   472  				return &v.unknownFields
   473  			default:
   474  				return nil
   475  			}
   476  		}
   477  		file_app_observatory_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   478  			switch v := v.(*Intensity); i {
   479  			case 0:
   480  				return &v.state
   481  			case 1:
   482  				return &v.sizeCache
   483  			case 2:
   484  				return &v.unknownFields
   485  			default:
   486  				return nil
   487  			}
   488  		}
   489  		file_app_observatory_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   490  			switch v := v.(*Config); i {
   491  			case 0:
   492  				return &v.state
   493  			case 1:
   494  				return &v.sizeCache
   495  			case 2:
   496  				return &v.unknownFields
   497  			default:
   498  				return nil
   499  			}
   500  		}
   501  	}
   502  	type x struct{}
   503  	out := protoimpl.TypeBuilder{
   504  		File: protoimpl.DescBuilder{
   505  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   506  			RawDescriptor: file_app_observatory_config_proto_rawDesc,
   507  			NumEnums:      0,
   508  			NumMessages:   5,
   509  			NumExtensions: 0,
   510  			NumServices:   0,
   511  		},
   512  		GoTypes:           file_app_observatory_config_proto_goTypes,
   513  		DependencyIndexes: file_app_observatory_config_proto_depIdxs,
   514  		MessageInfos:      file_app_observatory_config_proto_msgTypes,
   515  	}.Build()
   516  	File_app_observatory_config_proto = out.File
   517  	file_app_observatory_config_proto_rawDesc = nil
   518  	file_app_observatory_config_proto_goTypes = nil
   519  	file_app_observatory_config_proto_depIdxs = nil
   520  }