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

     1  package command
     2  
     3  import (
     4  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
     5  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
     6  	reflect "reflect"
     7  	sync "sync"
     8  )
     9  
    10  const (
    11  	// Verify that this generated code is sufficiently up-to-date.
    12  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    13  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    14  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    15  )
    16  
    17  type Config struct {
    18  	state         protoimpl.MessageState
    19  	sizeCache     protoimpl.SizeCache
    20  	unknownFields protoimpl.UnknownFields
    21  }
    22  
    23  func (x *Config) Reset() {
    24  	*x = Config{}
    25  	if protoimpl.UnsafeEnabled {
    26  		mi := &file_app_log_command_config_proto_msgTypes[0]
    27  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    28  		ms.StoreMessageInfo(mi)
    29  	}
    30  }
    31  
    32  func (x *Config) String() string {
    33  	return protoimpl.X.MessageStringOf(x)
    34  }
    35  
    36  func (*Config) ProtoMessage() {}
    37  
    38  func (x *Config) ProtoReflect() protoreflect.Message {
    39  	mi := &file_app_log_command_config_proto_msgTypes[0]
    40  	if protoimpl.UnsafeEnabled && x != nil {
    41  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    42  		if ms.LoadMessageInfo() == nil {
    43  			ms.StoreMessageInfo(mi)
    44  		}
    45  		return ms
    46  	}
    47  	return mi.MessageOf(x)
    48  }
    49  
    50  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
    51  func (*Config) Descriptor() ([]byte, []int) {
    52  	return file_app_log_command_config_proto_rawDescGZIP(), []int{0}
    53  }
    54  
    55  type RestartLoggerRequest struct {
    56  	state         protoimpl.MessageState
    57  	sizeCache     protoimpl.SizeCache
    58  	unknownFields protoimpl.UnknownFields
    59  }
    60  
    61  func (x *RestartLoggerRequest) Reset() {
    62  	*x = RestartLoggerRequest{}
    63  	if protoimpl.UnsafeEnabled {
    64  		mi := &file_app_log_command_config_proto_msgTypes[1]
    65  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    66  		ms.StoreMessageInfo(mi)
    67  	}
    68  }
    69  
    70  func (x *RestartLoggerRequest) String() string {
    71  	return protoimpl.X.MessageStringOf(x)
    72  }
    73  
    74  func (*RestartLoggerRequest) ProtoMessage() {}
    75  
    76  func (x *RestartLoggerRequest) ProtoReflect() protoreflect.Message {
    77  	mi := &file_app_log_command_config_proto_msgTypes[1]
    78  	if protoimpl.UnsafeEnabled && x != nil {
    79  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    80  		if ms.LoadMessageInfo() == nil {
    81  			ms.StoreMessageInfo(mi)
    82  		}
    83  		return ms
    84  	}
    85  	return mi.MessageOf(x)
    86  }
    87  
    88  // Deprecated: Use RestartLoggerRequest.ProtoReflect.Descriptor instead.
    89  func (*RestartLoggerRequest) Descriptor() ([]byte, []int) {
    90  	return file_app_log_command_config_proto_rawDescGZIP(), []int{1}
    91  }
    92  
    93  type RestartLoggerResponse struct {
    94  	state         protoimpl.MessageState
    95  	sizeCache     protoimpl.SizeCache
    96  	unknownFields protoimpl.UnknownFields
    97  }
    98  
    99  func (x *RestartLoggerResponse) Reset() {
   100  	*x = RestartLoggerResponse{}
   101  	if protoimpl.UnsafeEnabled {
   102  		mi := &file_app_log_command_config_proto_msgTypes[2]
   103  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   104  		ms.StoreMessageInfo(mi)
   105  	}
   106  }
   107  
   108  func (x *RestartLoggerResponse) String() string {
   109  	return protoimpl.X.MessageStringOf(x)
   110  }
   111  
   112  func (*RestartLoggerResponse) ProtoMessage() {}
   113  
   114  func (x *RestartLoggerResponse) ProtoReflect() protoreflect.Message {
   115  	mi := &file_app_log_command_config_proto_msgTypes[2]
   116  	if protoimpl.UnsafeEnabled && x != nil {
   117  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   118  		if ms.LoadMessageInfo() == nil {
   119  			ms.StoreMessageInfo(mi)
   120  		}
   121  		return ms
   122  	}
   123  	return mi.MessageOf(x)
   124  }
   125  
   126  // Deprecated: Use RestartLoggerResponse.ProtoReflect.Descriptor instead.
   127  func (*RestartLoggerResponse) Descriptor() ([]byte, []int) {
   128  	return file_app_log_command_config_proto_rawDescGZIP(), []int{2}
   129  }
   130  
   131  type FollowLogRequest struct {
   132  	state         protoimpl.MessageState
   133  	sizeCache     protoimpl.SizeCache
   134  	unknownFields protoimpl.UnknownFields
   135  }
   136  
   137  func (x *FollowLogRequest) Reset() {
   138  	*x = FollowLogRequest{}
   139  	if protoimpl.UnsafeEnabled {
   140  		mi := &file_app_log_command_config_proto_msgTypes[3]
   141  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   142  		ms.StoreMessageInfo(mi)
   143  	}
   144  }
   145  
   146  func (x *FollowLogRequest) String() string {
   147  	return protoimpl.X.MessageStringOf(x)
   148  }
   149  
   150  func (*FollowLogRequest) ProtoMessage() {}
   151  
   152  func (x *FollowLogRequest) ProtoReflect() protoreflect.Message {
   153  	mi := &file_app_log_command_config_proto_msgTypes[3]
   154  	if protoimpl.UnsafeEnabled && x != nil {
   155  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   156  		if ms.LoadMessageInfo() == nil {
   157  			ms.StoreMessageInfo(mi)
   158  		}
   159  		return ms
   160  	}
   161  	return mi.MessageOf(x)
   162  }
   163  
   164  // Deprecated: Use FollowLogRequest.ProtoReflect.Descriptor instead.
   165  func (*FollowLogRequest) Descriptor() ([]byte, []int) {
   166  	return file_app_log_command_config_proto_rawDescGZIP(), []int{3}
   167  }
   168  
   169  type FollowLogResponse struct {
   170  	state         protoimpl.MessageState
   171  	sizeCache     protoimpl.SizeCache
   172  	unknownFields protoimpl.UnknownFields
   173  
   174  	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
   175  }
   176  
   177  func (x *FollowLogResponse) Reset() {
   178  	*x = FollowLogResponse{}
   179  	if protoimpl.UnsafeEnabled {
   180  		mi := &file_app_log_command_config_proto_msgTypes[4]
   181  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   182  		ms.StoreMessageInfo(mi)
   183  	}
   184  }
   185  
   186  func (x *FollowLogResponse) String() string {
   187  	return protoimpl.X.MessageStringOf(x)
   188  }
   189  
   190  func (*FollowLogResponse) ProtoMessage() {}
   191  
   192  func (x *FollowLogResponse) ProtoReflect() protoreflect.Message {
   193  	mi := &file_app_log_command_config_proto_msgTypes[4]
   194  	if protoimpl.UnsafeEnabled && x != nil {
   195  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   196  		if ms.LoadMessageInfo() == nil {
   197  			ms.StoreMessageInfo(mi)
   198  		}
   199  		return ms
   200  	}
   201  	return mi.MessageOf(x)
   202  }
   203  
   204  // Deprecated: Use FollowLogResponse.ProtoReflect.Descriptor instead.
   205  func (*FollowLogResponse) Descriptor() ([]byte, []int) {
   206  	return file_app_log_command_config_proto_rawDescGZIP(), []int{4}
   207  }
   208  
   209  func (x *FollowLogResponse) GetMessage() string {
   210  	if x != nil {
   211  		return x.Message
   212  	}
   213  	return ""
   214  }
   215  
   216  var File_app_log_command_config_proto protoreflect.FileDescriptor
   217  
   218  var file_app_log_command_config_proto_rawDesc = []byte{
   219  	0x0a, 0x1c, 0x61, 0x70, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
   220  	0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a,
   221  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c,
   222  	0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f,
   223  	0x6e, 0x66, 0x69, 0x67, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4c,
   224  	0x6f, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15,
   225  	0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x73,
   226  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x4c,
   227  	0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2d, 0x0a, 0x11, 0x46, 0x6f, 0x6c,
   228  	0x6c, 0x6f, 0x77, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
   229  	0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   230  	0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xf5, 0x01, 0x0a, 0x0d, 0x4c, 0x6f, 0x67,
   231  	0x67, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x76, 0x0a, 0x0d, 0x52, 0x65,
   232  	0x73, 0x74, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x12, 0x30, 0x2e, 0x76, 0x32,
   233  	0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c, 0x6f, 0x67,
   234  	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74,
   235  	0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e,
   236  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c,
   237  	0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61,
   238  	0x72, 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
   239  	0x22, 0x00, 0x12, 0x6c, 0x0a, 0x09, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x4c, 0x6f, 0x67, 0x12,
   240  	0x2c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
   241  	0x2e, 0x6c, 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x46, 0x6f, 0x6c,
   242  	0x6c, 0x6f, 0x77, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e,
   243  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c,
   244  	0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x46, 0x6f, 0x6c, 0x6c, 0x6f,
   245  	0x77, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01,
   246  	0x42, 0x6f, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
   247  	0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
   248  	0x6e, 0x64, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
   249  	0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72,
   250  	0x65, 0x2f, 0x76, 0x35, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x2f, 0x63, 0x6f, 0x6d,
   251  	0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x1a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72,
   252  	0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x4c, 0x6f, 0x67, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
   253  	0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   254  }
   255  
   256  var (
   257  	file_app_log_command_config_proto_rawDescOnce sync.Once
   258  	file_app_log_command_config_proto_rawDescData = file_app_log_command_config_proto_rawDesc
   259  )
   260  
   261  func file_app_log_command_config_proto_rawDescGZIP() []byte {
   262  	file_app_log_command_config_proto_rawDescOnce.Do(func() {
   263  		file_app_log_command_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_log_command_config_proto_rawDescData)
   264  	})
   265  	return file_app_log_command_config_proto_rawDescData
   266  }
   267  
   268  var file_app_log_command_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   269  var file_app_log_command_config_proto_goTypes = []interface{}{
   270  	(*Config)(nil),                // 0: v2ray.core.app.log.command.Config
   271  	(*RestartLoggerRequest)(nil),  // 1: v2ray.core.app.log.command.RestartLoggerRequest
   272  	(*RestartLoggerResponse)(nil), // 2: v2ray.core.app.log.command.RestartLoggerResponse
   273  	(*FollowLogRequest)(nil),      // 3: v2ray.core.app.log.command.FollowLogRequest
   274  	(*FollowLogResponse)(nil),     // 4: v2ray.core.app.log.command.FollowLogResponse
   275  }
   276  var file_app_log_command_config_proto_depIdxs = []int32{
   277  	1, // 0: v2ray.core.app.log.command.LoggerService.RestartLogger:input_type -> v2ray.core.app.log.command.RestartLoggerRequest
   278  	3, // 1: v2ray.core.app.log.command.LoggerService.FollowLog:input_type -> v2ray.core.app.log.command.FollowLogRequest
   279  	2, // 2: v2ray.core.app.log.command.LoggerService.RestartLogger:output_type -> v2ray.core.app.log.command.RestartLoggerResponse
   280  	4, // 3: v2ray.core.app.log.command.LoggerService.FollowLog:output_type -> v2ray.core.app.log.command.FollowLogResponse
   281  	2, // [2:4] is the sub-list for method output_type
   282  	0, // [0:2] is the sub-list for method input_type
   283  	0, // [0:0] is the sub-list for extension type_name
   284  	0, // [0:0] is the sub-list for extension extendee
   285  	0, // [0:0] is the sub-list for field type_name
   286  }
   287  
   288  func init() { file_app_log_command_config_proto_init() }
   289  func file_app_log_command_config_proto_init() {
   290  	if File_app_log_command_config_proto != nil {
   291  		return
   292  	}
   293  	if !protoimpl.UnsafeEnabled {
   294  		file_app_log_command_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   295  			switch v := v.(*Config); i {
   296  			case 0:
   297  				return &v.state
   298  			case 1:
   299  				return &v.sizeCache
   300  			case 2:
   301  				return &v.unknownFields
   302  			default:
   303  				return nil
   304  			}
   305  		}
   306  		file_app_log_command_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   307  			switch v := v.(*RestartLoggerRequest); i {
   308  			case 0:
   309  				return &v.state
   310  			case 1:
   311  				return &v.sizeCache
   312  			case 2:
   313  				return &v.unknownFields
   314  			default:
   315  				return nil
   316  			}
   317  		}
   318  		file_app_log_command_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   319  			switch v := v.(*RestartLoggerResponse); i {
   320  			case 0:
   321  				return &v.state
   322  			case 1:
   323  				return &v.sizeCache
   324  			case 2:
   325  				return &v.unknownFields
   326  			default:
   327  				return nil
   328  			}
   329  		}
   330  		file_app_log_command_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   331  			switch v := v.(*FollowLogRequest); i {
   332  			case 0:
   333  				return &v.state
   334  			case 1:
   335  				return &v.sizeCache
   336  			case 2:
   337  				return &v.unknownFields
   338  			default:
   339  				return nil
   340  			}
   341  		}
   342  		file_app_log_command_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   343  			switch v := v.(*FollowLogResponse); i {
   344  			case 0:
   345  				return &v.state
   346  			case 1:
   347  				return &v.sizeCache
   348  			case 2:
   349  				return &v.unknownFields
   350  			default:
   351  				return nil
   352  			}
   353  		}
   354  	}
   355  	type x struct{}
   356  	out := protoimpl.TypeBuilder{
   357  		File: protoimpl.DescBuilder{
   358  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   359  			RawDescriptor: file_app_log_command_config_proto_rawDesc,
   360  			NumEnums:      0,
   361  			NumMessages:   5,
   362  			NumExtensions: 0,
   363  			NumServices:   1,
   364  		},
   365  		GoTypes:           file_app_log_command_config_proto_goTypes,
   366  		DependencyIndexes: file_app_log_command_config_proto_depIdxs,
   367  		MessageInfos:      file_app_log_command_config_proto_msgTypes,
   368  	}.Build()
   369  	File_app_log_command_config_proto = out.File
   370  	file_app_log_command_config_proto_rawDesc = nil
   371  	file_app_log_command_config_proto_goTypes = nil
   372  	file_app_log_command_config_proto_depIdxs = nil
   373  }