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