github.com/imannamdari/v2ray-core/v5@v5.0.5/app/observatory/command/command.pb.go (about)

     1  package command
     2  
     3  import (
     4  	reflect "reflect"
     5  	sync "sync"
     6  
     7  	observatory "github.com/imannamdari/v2ray-core/v5/app/observatory"
     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 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, 0x1c, 0x61, 0x70, 0x70,
   159  	0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2f, 0x63, 0x6f, 0x6e,
   160  	0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x18, 0x47, 0x65, 0x74,
   161  	0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65,
   162  	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01,
   163  	0x28, 0x09, 0x52, 0x03, 0x54, 0x61, 0x67, 0x22, 0x62, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4f, 0x75,
   164  	0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70,
   165  	0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01,
   166  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
   167  	0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72,
   168  	0x79, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
   169  	0x75, 0x6c, 0x74, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x08, 0x0a, 0x06, 0x43,
   170  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0xa9, 0x01, 0x0a, 0x12, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76,
   171  	0x61, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x92, 0x01, 0x0a,
   172  	0x11, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74,
   173  	0x75, 0x73, 0x12, 0x3c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
   174  	0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e,
   175  	0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f,
   176  	0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   177  	0x1a, 0x3d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
   178  	0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x63, 0x6f,
   179  	0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e,
   180  	0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
   181  	0x00, 0x42, 0x87, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
   182  	0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61,
   183  	0x74, 0x6f, 0x72, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x36,
   184  	0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79,
   185  	0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x61,
   186  	0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2f, 0x63,
   187  	0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x22, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43,
   188  	0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74,
   189  	0x6f, 0x72, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f,
   190  	0x74, 0x6f, 0x33,
   191  }
   192  
   193  var (
   194  	file_app_observatory_command_command_proto_rawDescOnce sync.Once
   195  	file_app_observatory_command_command_proto_rawDescData = file_app_observatory_command_command_proto_rawDesc
   196  )
   197  
   198  func file_app_observatory_command_command_proto_rawDescGZIP() []byte {
   199  	file_app_observatory_command_command_proto_rawDescOnce.Do(func() {
   200  		file_app_observatory_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_observatory_command_command_proto_rawDescData)
   201  	})
   202  	return file_app_observatory_command_command_proto_rawDescData
   203  }
   204  
   205  var file_app_observatory_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   206  var file_app_observatory_command_command_proto_goTypes = []interface{}{
   207  	(*GetOutboundStatusRequest)(nil),      // 0: v2ray.core.app.observatory.command.GetOutboundStatusRequest
   208  	(*GetOutboundStatusResponse)(nil),     // 1: v2ray.core.app.observatory.command.GetOutboundStatusResponse
   209  	(*Config)(nil),                        // 2: v2ray.core.app.observatory.command.Config
   210  	(*observatory.ObservationResult)(nil), // 3: v2ray.core.app.observatory.ObservationResult
   211  }
   212  var file_app_observatory_command_command_proto_depIdxs = []int32{
   213  	3, // 0: v2ray.core.app.observatory.command.GetOutboundStatusResponse.status:type_name -> v2ray.core.app.observatory.ObservationResult
   214  	0, // 1: v2ray.core.app.observatory.command.ObservatoryService.GetOutboundStatus:input_type -> v2ray.core.app.observatory.command.GetOutboundStatusRequest
   215  	1, // 2: v2ray.core.app.observatory.command.ObservatoryService.GetOutboundStatus:output_type -> v2ray.core.app.observatory.command.GetOutboundStatusResponse
   216  	2, // [2:3] is the sub-list for method output_type
   217  	1, // [1:2] is the sub-list for method input_type
   218  	1, // [1:1] is the sub-list for extension type_name
   219  	1, // [1:1] is the sub-list for extension extendee
   220  	0, // [0:1] is the sub-list for field type_name
   221  }
   222  
   223  func init() { file_app_observatory_command_command_proto_init() }
   224  func file_app_observatory_command_command_proto_init() {
   225  	if File_app_observatory_command_command_proto != nil {
   226  		return
   227  	}
   228  	if !protoimpl.UnsafeEnabled {
   229  		file_app_observatory_command_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   230  			switch v := v.(*GetOutboundStatusRequest); i {
   231  			case 0:
   232  				return &v.state
   233  			case 1:
   234  				return &v.sizeCache
   235  			case 2:
   236  				return &v.unknownFields
   237  			default:
   238  				return nil
   239  			}
   240  		}
   241  		file_app_observatory_command_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   242  			switch v := v.(*GetOutboundStatusResponse); i {
   243  			case 0:
   244  				return &v.state
   245  			case 1:
   246  				return &v.sizeCache
   247  			case 2:
   248  				return &v.unknownFields
   249  			default:
   250  				return nil
   251  			}
   252  		}
   253  		file_app_observatory_command_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   254  			switch v := v.(*Config); i {
   255  			case 0:
   256  				return &v.state
   257  			case 1:
   258  				return &v.sizeCache
   259  			case 2:
   260  				return &v.unknownFields
   261  			default:
   262  				return nil
   263  			}
   264  		}
   265  	}
   266  	type x struct{}
   267  	out := protoimpl.TypeBuilder{
   268  		File: protoimpl.DescBuilder{
   269  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   270  			RawDescriptor: file_app_observatory_command_command_proto_rawDesc,
   271  			NumEnums:      0,
   272  			NumMessages:   3,
   273  			NumExtensions: 0,
   274  			NumServices:   1,
   275  		},
   276  		GoTypes:           file_app_observatory_command_command_proto_goTypes,
   277  		DependencyIndexes: file_app_observatory_command_command_proto_depIdxs,
   278  		MessageInfos:      file_app_observatory_command_command_proto_msgTypes,
   279  	}.Build()
   280  	File_app_observatory_command_command_proto = out.File
   281  	file_app_observatory_command_command_proto_rawDesc = nil
   282  	file_app_observatory_command_command_proto_goTypes = nil
   283  	file_app_observatory_command_command_proto_depIdxs = nil
   284  }