github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/common/proto/fleetspeak_monitoring/resource.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.0
     4  // 	protoc        v4.23.4
     5  // source: fleetspeak/src/common/proto/fleetspeak_monitoring/resource.proto
     6  
     7  package fleetspeak_monitoring
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    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 KillNotification_Reason int32
    25  
    26  const (
    27  	KillNotification_UNSPECIFIED       KillNotification_Reason = 0
    28  	KillNotification_HEARTBEAT_FAILURE KillNotification_Reason = 1
    29  	KillNotification_MEMORY_EXCEEDED   KillNotification_Reason = 2
    30  )
    31  
    32  // Enum value maps for KillNotification_Reason.
    33  var (
    34  	KillNotification_Reason_name = map[int32]string{
    35  		0: "UNSPECIFIED",
    36  		1: "HEARTBEAT_FAILURE",
    37  		2: "MEMORY_EXCEEDED",
    38  	}
    39  	KillNotification_Reason_value = map[string]int32{
    40  		"UNSPECIFIED":       0,
    41  		"HEARTBEAT_FAILURE": 1,
    42  		"MEMORY_EXCEEDED":   2,
    43  	}
    44  )
    45  
    46  func (x KillNotification_Reason) Enum() *KillNotification_Reason {
    47  	p := new(KillNotification_Reason)
    48  	*p = x
    49  	return p
    50  }
    51  
    52  func (x KillNotification_Reason) String() string {
    53  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    54  }
    55  
    56  func (KillNotification_Reason) Descriptor() protoreflect.EnumDescriptor {
    57  	return file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_enumTypes[0].Descriptor()
    58  }
    59  
    60  func (KillNotification_Reason) Type() protoreflect.EnumType {
    61  	return &file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_enumTypes[0]
    62  }
    63  
    64  func (x KillNotification_Reason) Number() protoreflect.EnumNumber {
    65  	return protoreflect.EnumNumber(x)
    66  }
    67  
    68  // Deprecated: Use KillNotification_Reason.Descriptor instead.
    69  func (KillNotification_Reason) EnumDescriptor() ([]byte, []int) {
    70  	return file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDescGZIP(), []int{2, 0}
    71  }
    72  
    73  // Contains resource-usage metrics for Fleetspeak clients. The stats are
    74  // arrived at by aggregating raw data retrieved from the OS.
    75  // CPU-usage is in milliseconds per second, and memory usage is in bytes.
    76  type AggregatedResourceUsage struct {
    77  	state         protoimpl.MessageState
    78  	sizeCache     protoimpl.SizeCache
    79  	unknownFields protoimpl.UnknownFields
    80  
    81  	MeanUserCpuRate    float64 `protobuf:"fixed64,1,opt,name=mean_user_cpu_rate,json=meanUserCpuRate,proto3" json:"mean_user_cpu_rate,omitempty"`
    82  	MaxUserCpuRate     float64 `protobuf:"fixed64,2,opt,name=max_user_cpu_rate,json=maxUserCpuRate,proto3" json:"max_user_cpu_rate,omitempty"`
    83  	MeanSystemCpuRate  float64 `protobuf:"fixed64,3,opt,name=mean_system_cpu_rate,json=meanSystemCpuRate,proto3" json:"mean_system_cpu_rate,omitempty"`
    84  	MaxSystemCpuRate   float64 `protobuf:"fixed64,4,opt,name=max_system_cpu_rate,json=maxSystemCpuRate,proto3" json:"max_system_cpu_rate,omitempty"`
    85  	MeanResidentMemory float64 `protobuf:"fixed64,5,opt,name=mean_resident_memory,json=meanResidentMemory,proto3" json:"mean_resident_memory,omitempty"`
    86  	MaxResidentMemory  int64   `protobuf:"varint,6,opt,name=max_resident_memory,json=maxResidentMemory,proto3" json:"max_resident_memory,omitempty"`
    87  	MaxNumFds          int32   `protobuf:"varint,7,opt,name=max_num_fds,json=maxNumFds,proto3" json:"max_num_fds,omitempty"`
    88  	MeanNumFds         float64 `protobuf:"fixed64,8,opt,name=mean_num_fds,json=meanNumFds,proto3" json:"mean_num_fds,omitempty"`
    89  }
    90  
    91  func (x *AggregatedResourceUsage) Reset() {
    92  	*x = AggregatedResourceUsage{}
    93  	if protoimpl.UnsafeEnabled {
    94  		mi := &file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_msgTypes[0]
    95  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    96  		ms.StoreMessageInfo(mi)
    97  	}
    98  }
    99  
   100  func (x *AggregatedResourceUsage) String() string {
   101  	return protoimpl.X.MessageStringOf(x)
   102  }
   103  
   104  func (*AggregatedResourceUsage) ProtoMessage() {}
   105  
   106  func (x *AggregatedResourceUsage) ProtoReflect() protoreflect.Message {
   107  	mi := &file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_msgTypes[0]
   108  	if protoimpl.UnsafeEnabled && x != nil {
   109  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   110  		if ms.LoadMessageInfo() == nil {
   111  			ms.StoreMessageInfo(mi)
   112  		}
   113  		return ms
   114  	}
   115  	return mi.MessageOf(x)
   116  }
   117  
   118  // Deprecated: Use AggregatedResourceUsage.ProtoReflect.Descriptor instead.
   119  func (*AggregatedResourceUsage) Descriptor() ([]byte, []int) {
   120  	return file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDescGZIP(), []int{0}
   121  }
   122  
   123  func (x *AggregatedResourceUsage) GetMeanUserCpuRate() float64 {
   124  	if x != nil {
   125  		return x.MeanUserCpuRate
   126  	}
   127  	return 0
   128  }
   129  
   130  func (x *AggregatedResourceUsage) GetMaxUserCpuRate() float64 {
   131  	if x != nil {
   132  		return x.MaxUserCpuRate
   133  	}
   134  	return 0
   135  }
   136  
   137  func (x *AggregatedResourceUsage) GetMeanSystemCpuRate() float64 {
   138  	if x != nil {
   139  		return x.MeanSystemCpuRate
   140  	}
   141  	return 0
   142  }
   143  
   144  func (x *AggregatedResourceUsage) GetMaxSystemCpuRate() float64 {
   145  	if x != nil {
   146  		return x.MaxSystemCpuRate
   147  	}
   148  	return 0
   149  }
   150  
   151  func (x *AggregatedResourceUsage) GetMeanResidentMemory() float64 {
   152  	if x != nil {
   153  		return x.MeanResidentMemory
   154  	}
   155  	return 0
   156  }
   157  
   158  func (x *AggregatedResourceUsage) GetMaxResidentMemory() int64 {
   159  	if x != nil {
   160  		return x.MaxResidentMemory
   161  	}
   162  	return 0
   163  }
   164  
   165  func (x *AggregatedResourceUsage) GetMaxNumFds() int32 {
   166  	if x != nil {
   167  		return x.MaxNumFds
   168  	}
   169  	return 0
   170  }
   171  
   172  func (x *AggregatedResourceUsage) GetMeanNumFds() float64 {
   173  	if x != nil {
   174  		return x.MeanNumFds
   175  	}
   176  	return 0
   177  }
   178  
   179  // A fleetspeak.Message with message type "ResourceUsage" is sent regularly by
   180  // the system and daemon services to the server, to report the performance of
   181  // processes.
   182  //
   183  // Next tag: 9
   184  type ResourceUsageData struct {
   185  	state         protoimpl.MessageState
   186  	sizeCache     protoimpl.SizeCache
   187  	unknownFields protoimpl.UnknownFields
   188  
   189  	// Name of the client service that resource usage is charged/attributed to
   190  	// e.g 'system' for the system Fleetspeak service, or the name of a daemon
   191  	// service as specified in its config.
   192  	Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
   193  	Pid   int64  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
   194  	// The self reported service/service binary version.
   195  	Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
   196  	// Time when the process was started by Fleetspeak.
   197  	ProcessStartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=process_start_time,json=processStartTime,proto3" json:"process_start_time,omitempty"`
   198  	// Corresponds to when computation of the resource-usage data was finalized.
   199  	DataTimestamp *timestamppb.Timestamp   `protobuf:"bytes,4,opt,name=data_timestamp,json=dataTimestamp,proto3" json:"data_timestamp,omitempty"`
   200  	ResourceUsage *AggregatedResourceUsage `protobuf:"bytes,5,opt,name=resource_usage,json=resourceUsage,proto3" json:"resource_usage,omitempty"`
   201  	// Optional debug info for the process.
   202  	DebugStatus string `protobuf:"bytes,6,opt,name=debug_status,json=debugStatus,proto3" json:"debug_status,omitempty"`
   203  	// If true, indicates that the process has terminated, and that this is
   204  	// the final resource-usage report for that process.
   205  	ProcessTerminated bool `protobuf:"varint,7,opt,name=process_terminated,json=processTerminated,proto3" json:"process_terminated,omitempty"`
   206  }
   207  
   208  func (x *ResourceUsageData) Reset() {
   209  	*x = ResourceUsageData{}
   210  	if protoimpl.UnsafeEnabled {
   211  		mi := &file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_msgTypes[1]
   212  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   213  		ms.StoreMessageInfo(mi)
   214  	}
   215  }
   216  
   217  func (x *ResourceUsageData) String() string {
   218  	return protoimpl.X.MessageStringOf(x)
   219  }
   220  
   221  func (*ResourceUsageData) ProtoMessage() {}
   222  
   223  func (x *ResourceUsageData) ProtoReflect() protoreflect.Message {
   224  	mi := &file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_msgTypes[1]
   225  	if protoimpl.UnsafeEnabled && x != nil {
   226  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   227  		if ms.LoadMessageInfo() == nil {
   228  			ms.StoreMessageInfo(mi)
   229  		}
   230  		return ms
   231  	}
   232  	return mi.MessageOf(x)
   233  }
   234  
   235  // Deprecated: Use ResourceUsageData.ProtoReflect.Descriptor instead.
   236  func (*ResourceUsageData) Descriptor() ([]byte, []int) {
   237  	return file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDescGZIP(), []int{1}
   238  }
   239  
   240  func (x *ResourceUsageData) GetScope() string {
   241  	if x != nil {
   242  		return x.Scope
   243  	}
   244  	return ""
   245  }
   246  
   247  func (x *ResourceUsageData) GetPid() int64 {
   248  	if x != nil {
   249  		return x.Pid
   250  	}
   251  	return 0
   252  }
   253  
   254  func (x *ResourceUsageData) GetVersion() string {
   255  	if x != nil {
   256  		return x.Version
   257  	}
   258  	return ""
   259  }
   260  
   261  func (x *ResourceUsageData) GetProcessStartTime() *timestamppb.Timestamp {
   262  	if x != nil {
   263  		return x.ProcessStartTime
   264  	}
   265  	return nil
   266  }
   267  
   268  func (x *ResourceUsageData) GetDataTimestamp() *timestamppb.Timestamp {
   269  	if x != nil {
   270  		return x.DataTimestamp
   271  	}
   272  	return nil
   273  }
   274  
   275  func (x *ResourceUsageData) GetResourceUsage() *AggregatedResourceUsage {
   276  	if x != nil {
   277  		return x.ResourceUsage
   278  	}
   279  	return nil
   280  }
   281  
   282  func (x *ResourceUsageData) GetDebugStatus() string {
   283  	if x != nil {
   284  		return x.DebugStatus
   285  	}
   286  	return ""
   287  }
   288  
   289  func (x *ResourceUsageData) GetProcessTerminated() bool {
   290  	if x != nil {
   291  		return x.ProcessTerminated
   292  	}
   293  	return false
   294  }
   295  
   296  // Sent by clients when a service gets killed by Fleetspeak, e.g. for using
   297  // too much memory.
   298  type KillNotification struct {
   299  	state         protoimpl.MessageState
   300  	sizeCache     protoimpl.SizeCache
   301  	unknownFields protoimpl.UnknownFields
   302  
   303  	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
   304  	Pid     int64  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
   305  	// The self-reported version of the service.
   306  	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
   307  	// Time when the process was started by Fleetspeak.
   308  	ProcessStartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=process_start_time,json=processStartTime,proto3" json:"process_start_time,omitempty"`
   309  	// Time when the process was killed by Fleetspeak.
   310  	KilledWhen *timestamppb.Timestamp  `protobuf:"bytes,5,opt,name=killed_when,json=killedWhen,proto3" json:"killed_when,omitempty"`
   311  	Reason     KillNotification_Reason `protobuf:"varint,6,opt,name=reason,proto3,enum=fleetspeak.monitoring.KillNotification_Reason" json:"reason,omitempty"`
   312  }
   313  
   314  func (x *KillNotification) Reset() {
   315  	*x = KillNotification{}
   316  	if protoimpl.UnsafeEnabled {
   317  		mi := &file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_msgTypes[2]
   318  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   319  		ms.StoreMessageInfo(mi)
   320  	}
   321  }
   322  
   323  func (x *KillNotification) String() string {
   324  	return protoimpl.X.MessageStringOf(x)
   325  }
   326  
   327  func (*KillNotification) ProtoMessage() {}
   328  
   329  func (x *KillNotification) ProtoReflect() protoreflect.Message {
   330  	mi := &file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_msgTypes[2]
   331  	if protoimpl.UnsafeEnabled && x != nil {
   332  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   333  		if ms.LoadMessageInfo() == nil {
   334  			ms.StoreMessageInfo(mi)
   335  		}
   336  		return ms
   337  	}
   338  	return mi.MessageOf(x)
   339  }
   340  
   341  // Deprecated: Use KillNotification.ProtoReflect.Descriptor instead.
   342  func (*KillNotification) Descriptor() ([]byte, []int) {
   343  	return file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDescGZIP(), []int{2}
   344  }
   345  
   346  func (x *KillNotification) GetService() string {
   347  	if x != nil {
   348  		return x.Service
   349  	}
   350  	return ""
   351  }
   352  
   353  func (x *KillNotification) GetPid() int64 {
   354  	if x != nil {
   355  		return x.Pid
   356  	}
   357  	return 0
   358  }
   359  
   360  func (x *KillNotification) GetVersion() string {
   361  	if x != nil {
   362  		return x.Version
   363  	}
   364  	return ""
   365  }
   366  
   367  func (x *KillNotification) GetProcessStartTime() *timestamppb.Timestamp {
   368  	if x != nil {
   369  		return x.ProcessStartTime
   370  	}
   371  	return nil
   372  }
   373  
   374  func (x *KillNotification) GetKilledWhen() *timestamppb.Timestamp {
   375  	if x != nil {
   376  		return x.KilledWhen
   377  	}
   378  	return nil
   379  }
   380  
   381  func (x *KillNotification) GetReason() KillNotification_Reason {
   382  	if x != nil {
   383  		return x.Reason
   384  	}
   385  	return KillNotification_UNSPECIFIED
   386  }
   387  
   388  var File_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto protoreflect.FileDescriptor
   389  
   390  var file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDesc = []byte{
   391  	0x0a, 0x40, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73, 0x72, 0x63,
   392  	0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c,
   393  	0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   394  	0x69, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   395  	0x74, 0x6f, 0x12, 0x15, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2e, 0x6d,
   396  	0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   397  	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
   398  	0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x02, 0x0a, 0x17, 0x41,
   399  	0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
   400  	0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x12, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x75,
   401  	0x73, 0x65, 0x72, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01,
   402  	0x28, 0x01, 0x52, 0x0f, 0x6d, 0x65, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x70, 0x75, 0x52,
   403  	0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f,
   404  	0x63, 0x70, 0x75, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e,
   405  	0x6d, 0x61, 0x78, 0x55, 0x73, 0x65, 0x72, 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2f,
   406  	0x0a, 0x14, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x63, 0x70,
   407  	0x75, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x6d, 0x65,
   408  	0x61, 0x6e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12,
   409  	0x2d, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x63, 0x70,
   410  	0x75, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x6d, 0x61,
   411  	0x78, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x30,
   412  	0x0a, 0x14, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x5f,
   413  	0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x12, 0x6d, 0x65,
   414  	0x61, 0x6e, 0x52, 0x65, 0x73, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79,
   415  	0x12, 0x2e, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x73, 0x69, 0x64, 0x65, 0x6e, 0x74,
   416  	0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6d,
   417  	0x61, 0x78, 0x52, 0x65, 0x73, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79,
   418  	0x12, 0x1e, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x64, 0x73, 0x18,
   419  	0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x46, 0x64, 0x73,
   420  	0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x64, 0x73,
   421  	0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x6d, 0x65, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x46,
   422  	0x64, 0x73, 0x22, 0x8b, 0x03, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55,
   423  	0x73, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70,
   424  	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x10,
   425  	0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x69, 0x64,
   426  	0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28,
   427  	0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x12, 0x70, 0x72,
   428  	0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
   429  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   430  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
   431  	0x6d, 0x70, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74,
   432  	0x54, 0x69, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x69, 0x6d,
   433  	0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
   434  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
   435  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x54, 0x69,
   436  	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x55, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75,
   437  	0x72, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
   438  	0x2e, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2e, 0x6d, 0x6f, 0x6e,
   439  	0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74,
   440  	0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52,
   441  	0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x21,
   442  	0x0a, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06,
   443  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75,
   444  	0x73, 0x12, 0x2d, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x65, 0x72,
   445  	0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x70,
   446  	0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64,
   447  	0x22, 0xee, 0x02, 0x0a, 0x10, 0x4b, 0x69, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63,
   448  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   449  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
   450  	0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x69,
   451  	0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
   452  	0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x12, 0x70,
   453  	0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d,
   454  	0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   455  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
   456  	0x61, 0x6d, 0x70, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x72,
   457  	0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x6b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f,
   458  	0x77, 0x68, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
   459  	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
   460  	0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x57, 0x68,
   461  	0x65, 0x6e, 0x12, 0x46, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01,
   462  	0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2e,
   463  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x4e,
   464  	0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x61, 0x73,
   465  	0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x45, 0x0a, 0x06, 0x52, 0x65,
   466  	0x61, 0x73, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
   467  	0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x48, 0x45, 0x41, 0x52, 0x54, 0x42, 0x45,
   468  	0x41, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f,
   469  	0x4d, 0x45, 0x4d, 0x4f, 0x52, 0x59, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10,
   470  	0x02, 0x42, 0x50, 0x5a, 0x4e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   471  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61,
   472  	0x6b, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73, 0x72, 0x63,
   473  	0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c,
   474  	0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   475  	0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   476  }
   477  
   478  var (
   479  	file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDescOnce sync.Once
   480  	file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDescData = file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDesc
   481  )
   482  
   483  func file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDescGZIP() []byte {
   484  	file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDescOnce.Do(func() {
   485  		file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDescData)
   486  	})
   487  	return file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDescData
   488  }
   489  
   490  var file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   491  var file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   492  var file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_goTypes = []interface{}{
   493  	(KillNotification_Reason)(0),    // 0: fleetspeak.monitoring.KillNotification.Reason
   494  	(*AggregatedResourceUsage)(nil), // 1: fleetspeak.monitoring.AggregatedResourceUsage
   495  	(*ResourceUsageData)(nil),       // 2: fleetspeak.monitoring.ResourceUsageData
   496  	(*KillNotification)(nil),        // 3: fleetspeak.monitoring.KillNotification
   497  	(*timestamppb.Timestamp)(nil),   // 4: google.protobuf.Timestamp
   498  }
   499  var file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_depIdxs = []int32{
   500  	4, // 0: fleetspeak.monitoring.ResourceUsageData.process_start_time:type_name -> google.protobuf.Timestamp
   501  	4, // 1: fleetspeak.monitoring.ResourceUsageData.data_timestamp:type_name -> google.protobuf.Timestamp
   502  	1, // 2: fleetspeak.monitoring.ResourceUsageData.resource_usage:type_name -> fleetspeak.monitoring.AggregatedResourceUsage
   503  	4, // 3: fleetspeak.monitoring.KillNotification.process_start_time:type_name -> google.protobuf.Timestamp
   504  	4, // 4: fleetspeak.monitoring.KillNotification.killed_when:type_name -> google.protobuf.Timestamp
   505  	0, // 5: fleetspeak.monitoring.KillNotification.reason:type_name -> fleetspeak.monitoring.KillNotification.Reason
   506  	6, // [6:6] is the sub-list for method output_type
   507  	6, // [6:6] is the sub-list for method input_type
   508  	6, // [6:6] is the sub-list for extension type_name
   509  	6, // [6:6] is the sub-list for extension extendee
   510  	0, // [0:6] is the sub-list for field type_name
   511  }
   512  
   513  func init() { file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_init() }
   514  func file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_init() {
   515  	if File_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto != nil {
   516  		return
   517  	}
   518  	if !protoimpl.UnsafeEnabled {
   519  		file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   520  			switch v := v.(*AggregatedResourceUsage); i {
   521  			case 0:
   522  				return &v.state
   523  			case 1:
   524  				return &v.sizeCache
   525  			case 2:
   526  				return &v.unknownFields
   527  			default:
   528  				return nil
   529  			}
   530  		}
   531  		file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   532  			switch v := v.(*ResourceUsageData); i {
   533  			case 0:
   534  				return &v.state
   535  			case 1:
   536  				return &v.sizeCache
   537  			case 2:
   538  				return &v.unknownFields
   539  			default:
   540  				return nil
   541  			}
   542  		}
   543  		file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   544  			switch v := v.(*KillNotification); i {
   545  			case 0:
   546  				return &v.state
   547  			case 1:
   548  				return &v.sizeCache
   549  			case 2:
   550  				return &v.unknownFields
   551  			default:
   552  				return nil
   553  			}
   554  		}
   555  	}
   556  	type x struct{}
   557  	out := protoimpl.TypeBuilder{
   558  		File: protoimpl.DescBuilder{
   559  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   560  			RawDescriptor: file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDesc,
   561  			NumEnums:      1,
   562  			NumMessages:   3,
   563  			NumExtensions: 0,
   564  			NumServices:   0,
   565  		},
   566  		GoTypes:           file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_goTypes,
   567  		DependencyIndexes: file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_depIdxs,
   568  		EnumInfos:         file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_enumTypes,
   569  		MessageInfos:      file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_msgTypes,
   570  	}.Build()
   571  	File_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto = out.File
   572  	file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_rawDesc = nil
   573  	file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_goTypes = nil
   574  	file_fleetspeak_src_common_proto_fleetspeak_monitoring_resource_proto_depIdxs = nil
   575  }