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