github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/app/observatory/command/command.pb.go (about)

     1  package command
     2  
     3  import (
     4  	observatory "github.com/v2fly/v2ray-core/v5/app/observatory"
     5  	_ "github.com/v2fly/v2ray-core/v5/common/protoext"
     6  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
     7  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
     8  	reflect "reflect"
     9  	sync "sync"
    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 GetOutboundStatusRequest struct {
    20  	state         protoimpl.MessageState
    21  	sizeCache     protoimpl.SizeCache
    22  	unknownFields protoimpl.UnknownFields
    23  
    24  	Tag string `protobuf:"bytes,1,opt,name=Tag,proto3" json:"Tag,omitempty"`
    25  }
    26  
    27  func (x *GetOutboundStatusRequest) Reset() {
    28  	*x = GetOutboundStatusRequest{}
    29  	if protoimpl.UnsafeEnabled {
    30  		mi := &file_app_observatory_command_command_proto_msgTypes[0]
    31  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    32  		ms.StoreMessageInfo(mi)
    33  	}
    34  }
    35  
    36  func (x *GetOutboundStatusRequest) String() string {
    37  	return protoimpl.X.MessageStringOf(x)
    38  }
    39  
    40  func (*GetOutboundStatusRequest) ProtoMessage() {}
    41  
    42  func (x *GetOutboundStatusRequest) ProtoReflect() protoreflect.Message {
    43  	mi := &file_app_observatory_command_command_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 GetOutboundStatusRequest.ProtoReflect.Descriptor instead.
    55  func (*GetOutboundStatusRequest) Descriptor() ([]byte, []int) {
    56  	return file_app_observatory_command_command_proto_rawDescGZIP(), []int{0}
    57  }
    58  
    59  func (x *GetOutboundStatusRequest) GetTag() string {
    60  	if x != nil {
    61  		return x.Tag
    62  	}
    63  	return ""
    64  }
    65  
    66  type GetOutboundStatusResponse struct {
    67  	state         protoimpl.MessageState
    68  	sizeCache     protoimpl.SizeCache
    69  	unknownFields protoimpl.UnknownFields
    70  
    71  	Status *observatory.ObservationResult `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
    72  }
    73  
    74  func (x *GetOutboundStatusResponse) Reset() {
    75  	*x = GetOutboundStatusResponse{}
    76  	if protoimpl.UnsafeEnabled {
    77  		mi := &file_app_observatory_command_command_proto_msgTypes[1]
    78  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    79  		ms.StoreMessageInfo(mi)
    80  	}
    81  }
    82  
    83  func (x *GetOutboundStatusResponse) String() string {
    84  	return protoimpl.X.MessageStringOf(x)
    85  }
    86  
    87  func (*GetOutboundStatusResponse) ProtoMessage() {}
    88  
    89  func (x *GetOutboundStatusResponse) ProtoReflect() protoreflect.Message {
    90  	mi := &file_app_observatory_command_command_proto_msgTypes[1]
    91  	if protoimpl.UnsafeEnabled && x != nil {
    92  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    93  		if ms.LoadMessageInfo() == nil {
    94  			ms.StoreMessageInfo(mi)
    95  		}
    96  		return ms
    97  	}
    98  	return mi.MessageOf(x)
    99  }
   100  
   101  // Deprecated: Use GetOutboundStatusResponse.ProtoReflect.Descriptor instead.
   102  func (*GetOutboundStatusResponse) Descriptor() ([]byte, []int) {
   103  	return file_app_observatory_command_command_proto_rawDescGZIP(), []int{1}
   104  }
   105  
   106  func (x *GetOutboundStatusResponse) GetStatus() *observatory.ObservationResult {
   107  	if x != nil {
   108  		return x.Status
   109  	}
   110  	return nil
   111  }
   112  
   113  type Config struct {
   114  	state         protoimpl.MessageState
   115  	sizeCache     protoimpl.SizeCache
   116  	unknownFields protoimpl.UnknownFields
   117  }
   118  
   119  func (x *Config) Reset() {
   120  	*x = Config{}
   121  	if protoimpl.UnsafeEnabled {
   122  		mi := &file_app_observatory_command_command_proto_msgTypes[2]
   123  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   124  		ms.StoreMessageInfo(mi)
   125  	}
   126  }
   127  
   128  func (x *Config) String() string {
   129  	return protoimpl.X.MessageStringOf(x)
   130  }
   131  
   132  func (*Config) ProtoMessage() {}
   133  
   134  func (x *Config) ProtoReflect() protoreflect.Message {
   135  	mi := &file_app_observatory_command_command_proto_msgTypes[2]
   136  	if protoimpl.UnsafeEnabled && x != nil {
   137  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   138  		if ms.LoadMessageInfo() == nil {
   139  			ms.StoreMessageInfo(mi)
   140  		}
   141  		return ms
   142  	}
   143  	return mi.MessageOf(x)
   144  }
   145  
   146  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
   147  func (*Config) Descriptor() ([]byte, []int) {
   148  	return file_app_observatory_command_command_proto_rawDescGZIP(), []int{2}
   149  }
   150  
   151  var File_app_observatory_command_command_proto protoreflect.FileDescriptor
   152  
   153  var file_app_observatory_command_command_proto_rawDesc = []byte{
   154  	0x0a, 0x25, 0x61, 0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72,
   155  	0x79, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
   156  	0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
   157  	0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74,
   158  	0x6f, 0x72, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x1a, 0x20, 0x63, 0x6f, 0x6d,
   159  	0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74,
   160  	0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x61,
   161  	0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2f, 0x63,
   162  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x18, 0x47,
   163  	0x65, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
   164  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x18, 0x01,
   165  	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x54, 0x61, 0x67, 0x22, 0x62, 0x0a, 0x19, 0x47, 0x65, 0x74,
   166  	0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65,
   167  	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
   168  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
   169  	0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74,
   170  	0x6f, 0x72, 0x79, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
   171  	0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x28, 0x0a,
   172  	0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x1e, 0x82, 0xb5, 0x18, 0x1a, 0x0a, 0x0b, 0x67,
   173  	0x72, 0x70, 0x63, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x0b, 0x6f, 0x62, 0x73, 0x65,
   174  	0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x32, 0xa9, 0x01, 0x0a, 0x12, 0x4f, 0x62, 0x73, 0x65,
   175  	0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x92,
   176  	0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74,
   177  	0x61, 0x74, 0x75, 0x73, 0x12, 0x3c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
   178  	0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72,
   179  	0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74,
   180  	0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
   181  	0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
   182  	0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e,
   183  	0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f,
   184  	0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
   185  	0x65, 0x22, 0x00, 0x42, 0x87, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61,
   186  	0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72,
   187  	0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x01,
   188  	0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66,
   189  	0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35,
   190  	0x2f, 0x61, 0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79,
   191  	0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x22, 0x56, 0x32, 0x52, 0x61, 0x79,
   192  	0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76,
   193  	0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x62, 0x06, 0x70,
   194  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   195  }
   196  
   197  var (
   198  	file_app_observatory_command_command_proto_rawDescOnce sync.Once
   199  	file_app_observatory_command_command_proto_rawDescData = file_app_observatory_command_command_proto_rawDesc
   200  )
   201  
   202  func file_app_observatory_command_command_proto_rawDescGZIP() []byte {
   203  	file_app_observatory_command_command_proto_rawDescOnce.Do(func() {
   204  		file_app_observatory_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_observatory_command_command_proto_rawDescData)
   205  	})
   206  	return file_app_observatory_command_command_proto_rawDescData
   207  }
   208  
   209  var file_app_observatory_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   210  var file_app_observatory_command_command_proto_goTypes = []interface{}{
   211  	(*GetOutboundStatusRequest)(nil),      // 0: v2ray.core.app.observatory.command.GetOutboundStatusRequest
   212  	(*GetOutboundStatusResponse)(nil),     // 1: v2ray.core.app.observatory.command.GetOutboundStatusResponse
   213  	(*Config)(nil),                        // 2: v2ray.core.app.observatory.command.Config
   214  	(*observatory.ObservationResult)(nil), // 3: v2ray.core.app.observatory.ObservationResult
   215  }
   216  var file_app_observatory_command_command_proto_depIdxs = []int32{
   217  	3, // 0: v2ray.core.app.observatory.command.GetOutboundStatusResponse.status:type_name -> v2ray.core.app.observatory.ObservationResult
   218  	0, // 1: v2ray.core.app.observatory.command.ObservatoryService.GetOutboundStatus:input_type -> v2ray.core.app.observatory.command.GetOutboundStatusRequest
   219  	1, // 2: v2ray.core.app.observatory.command.ObservatoryService.GetOutboundStatus:output_type -> v2ray.core.app.observatory.command.GetOutboundStatusResponse
   220  	2, // [2:3] is the sub-list for method output_type
   221  	1, // [1:2] is the sub-list for method input_type
   222  	1, // [1:1] is the sub-list for extension type_name
   223  	1, // [1:1] is the sub-list for extension extendee
   224  	0, // [0:1] is the sub-list for field type_name
   225  }
   226  
   227  func init() { file_app_observatory_command_command_proto_init() }
   228  func file_app_observatory_command_command_proto_init() {
   229  	if File_app_observatory_command_command_proto != nil {
   230  		return
   231  	}
   232  	if !protoimpl.UnsafeEnabled {
   233  		file_app_observatory_command_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   234  			switch v := v.(*GetOutboundStatusRequest); i {
   235  			case 0:
   236  				return &v.state
   237  			case 1:
   238  				return &v.sizeCache
   239  			case 2:
   240  				return &v.unknownFields
   241  			default:
   242  				return nil
   243  			}
   244  		}
   245  		file_app_observatory_command_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   246  			switch v := v.(*GetOutboundStatusResponse); i {
   247  			case 0:
   248  				return &v.state
   249  			case 1:
   250  				return &v.sizeCache
   251  			case 2:
   252  				return &v.unknownFields
   253  			default:
   254  				return nil
   255  			}
   256  		}
   257  		file_app_observatory_command_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   258  			switch v := v.(*Config); i {
   259  			case 0:
   260  				return &v.state
   261  			case 1:
   262  				return &v.sizeCache
   263  			case 2:
   264  				return &v.unknownFields
   265  			default:
   266  				return nil
   267  			}
   268  		}
   269  	}
   270  	type x struct{}
   271  	out := protoimpl.TypeBuilder{
   272  		File: protoimpl.DescBuilder{
   273  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   274  			RawDescriptor: file_app_observatory_command_command_proto_rawDesc,
   275  			NumEnums:      0,
   276  			NumMessages:   3,
   277  			NumExtensions: 0,
   278  			NumServices:   1,
   279  		},
   280  		GoTypes:           file_app_observatory_command_command_proto_goTypes,
   281  		DependencyIndexes: file_app_observatory_command_command_proto_depIdxs,
   282  		MessageInfos:      file_app_observatory_command_command_proto_msgTypes,
   283  	}.Build()
   284  	File_app_observatory_command_command_proto = out.File
   285  	file_app_observatory_command_command_proto_rawDesc = nil
   286  	file_app_observatory_command_command_proto_goTypes = nil
   287  	file_app_observatory_command_command_proto_depIdxs = nil
   288  }