github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/client/daemonservice/proto/fleetspeak_daemonservice/config.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/client/daemonservice/proto/fleetspeak_daemonservice/config.proto 6 7 package fleetspeak_daemonservice 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 durationpb "google.golang.org/protobuf/types/known/durationpb" 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 // The configuration information expected by daemonservice.Factory in 25 // ClientServiceConfig.config. 26 type Config struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 Argv []string `protobuf:"bytes,1,rep,name=argv,proto3" json:"argv,omitempty"` 32 // If set, process will be killed after this much inactivity. Any message to 33 // or from the process, and any stdin/stderr output counts as inactivity. 34 InactivityTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=inactivity_timeout,json=inactivityTimeout,proto3" json:"inactivity_timeout,omitempty"` 35 // If set, start the process only when there is a message for it to work on. 36 // Forced to true when inactivity timeout is set. 37 LazyStart bool `protobuf:"varint,3,opt,name=lazy_start,json=lazyStart,proto3" json:"lazy_start,omitempty"` 38 // By default, daemon services report resource usage every 10 minutes. This 39 // flag disables this if set. 40 DisableResourceMonitoring bool `protobuf:"varint,4,opt,name=disable_resource_monitoring,json=disableResourceMonitoring,proto3" json:"disable_resource_monitoring,omitempty"` 41 // How many samples to aggregate into a report when monitoring resource usage. 42 // If unset, defaults to 20. 43 ResourceMonitoringSampleSize int32 `protobuf:"varint,5,opt,name=resource_monitoring_sample_size,json=resourceMonitoringSampleSize,proto3" json:"resource_monitoring_sample_size,omitempty"` 44 // How long to wait between resource monitoring samples. If unset, defaults to 45 // 30. 46 // 47 // Deprecated: Do not use. 48 ResourceMonitoringSamplePeriodSeconds int32 `protobuf:"varint,6,opt,name=resource_monitoring_sample_period_seconds,json=resourceMonitoringSamplePeriodSeconds,proto3" json:"resource_monitoring_sample_period_seconds,omitempty"` 49 ResourceMonitoringSamplePeriod *durationpb.Duration `protobuf:"bytes,12,opt,name=resource_monitoring_sample_period,json=resourceMonitoringSamplePeriod,proto3" json:"resource_monitoring_sample_period,omitempty"` 50 // If set, Fleetspeak will kill and restart the child if it exceeds this 51 // memory limit, in bytes. 52 MemoryLimit int64 `protobuf:"varint,7,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"` 53 // If set, Fleetspeak will monitor child's heartbeat messages and kill 54 // unresponsive processes. The values below should be set to configure the 55 // heartbeat monitoring. 56 MonitorHeartbeats bool `protobuf:"varint,8,opt,name=monitor_heartbeats,json=monitorHeartbeats,proto3" json:"monitor_heartbeats,omitempty"` 57 // How long to wait for initial heartbeat. 58 // 59 // Deprecated: Do not use. 60 HeartbeatUnresponsiveGracePeriodSeconds int32 `protobuf:"varint,9,opt,name=heartbeat_unresponsive_grace_period_seconds,json=heartbeatUnresponsiveGracePeriodSeconds,proto3" json:"heartbeat_unresponsive_grace_period_seconds,omitempty"` 61 HeartbeatUnresponsiveGracePeriod *durationpb.Duration `protobuf:"bytes,13,opt,name=heartbeat_unresponsive_grace_period,json=heartbeatUnresponsiveGracePeriod,proto3" json:"heartbeat_unresponsive_grace_period,omitempty"` 62 // How long to wait for subsequent heartbeats. 63 // 64 // Deprecated: Do not use. 65 HeartbeatUnresponsiveKillPeriodSeconds int32 `protobuf:"varint,10,opt,name=heartbeat_unresponsive_kill_period_seconds,json=heartbeatUnresponsiveKillPeriodSeconds,proto3" json:"heartbeat_unresponsive_kill_period_seconds,omitempty"` 66 HeartbeatUnresponsiveKillPeriod *durationpb.Duration `protobuf:"bytes,14,opt,name=heartbeat_unresponsive_kill_period,json=heartbeatUnresponsiveKillPeriod,proto3" json:"heartbeat_unresponsive_kill_period,omitempty"` 67 StdParams *Config_StdParams `protobuf:"bytes,11,opt,name=std_params,json=stdParams,proto3" json:"std_params,omitempty"` 68 } 69 70 func (x *Config) Reset() { 71 *x = Config{} 72 if protoimpl.UnsafeEnabled { 73 mi := &file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_msgTypes[0] 74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 75 ms.StoreMessageInfo(mi) 76 } 77 } 78 79 func (x *Config) String() string { 80 return protoimpl.X.MessageStringOf(x) 81 } 82 83 func (*Config) ProtoMessage() {} 84 85 func (x *Config) ProtoReflect() protoreflect.Message { 86 mi := &file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_msgTypes[0] 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 Config.ProtoReflect.Descriptor instead. 98 func (*Config) Descriptor() ([]byte, []int) { 99 return file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDescGZIP(), []int{0} 100 } 101 102 func (x *Config) GetArgv() []string { 103 if x != nil { 104 return x.Argv 105 } 106 return nil 107 } 108 109 func (x *Config) GetInactivityTimeout() *durationpb.Duration { 110 if x != nil { 111 return x.InactivityTimeout 112 } 113 return nil 114 } 115 116 func (x *Config) GetLazyStart() bool { 117 if x != nil { 118 return x.LazyStart 119 } 120 return false 121 } 122 123 func (x *Config) GetDisableResourceMonitoring() bool { 124 if x != nil { 125 return x.DisableResourceMonitoring 126 } 127 return false 128 } 129 130 func (x *Config) GetResourceMonitoringSampleSize() int32 { 131 if x != nil { 132 return x.ResourceMonitoringSampleSize 133 } 134 return 0 135 } 136 137 // Deprecated: Do not use. 138 func (x *Config) GetResourceMonitoringSamplePeriodSeconds() int32 { 139 if x != nil { 140 return x.ResourceMonitoringSamplePeriodSeconds 141 } 142 return 0 143 } 144 145 func (x *Config) GetResourceMonitoringSamplePeriod() *durationpb.Duration { 146 if x != nil { 147 return x.ResourceMonitoringSamplePeriod 148 } 149 return nil 150 } 151 152 func (x *Config) GetMemoryLimit() int64 { 153 if x != nil { 154 return x.MemoryLimit 155 } 156 return 0 157 } 158 159 func (x *Config) GetMonitorHeartbeats() bool { 160 if x != nil { 161 return x.MonitorHeartbeats 162 } 163 return false 164 } 165 166 // Deprecated: Do not use. 167 func (x *Config) GetHeartbeatUnresponsiveGracePeriodSeconds() int32 { 168 if x != nil { 169 return x.HeartbeatUnresponsiveGracePeriodSeconds 170 } 171 return 0 172 } 173 174 func (x *Config) GetHeartbeatUnresponsiveGracePeriod() *durationpb.Duration { 175 if x != nil { 176 return x.HeartbeatUnresponsiveGracePeriod 177 } 178 return nil 179 } 180 181 // Deprecated: Do not use. 182 func (x *Config) GetHeartbeatUnresponsiveKillPeriodSeconds() int32 { 183 if x != nil { 184 return x.HeartbeatUnresponsiveKillPeriodSeconds 185 } 186 return 0 187 } 188 189 func (x *Config) GetHeartbeatUnresponsiveKillPeriod() *durationpb.Duration { 190 if x != nil { 191 return x.HeartbeatUnresponsiveKillPeriod 192 } 193 return nil 194 } 195 196 func (x *Config) GetStdParams() *Config_StdParams { 197 if x != nil { 198 return x.StdParams 199 } 200 return nil 201 } 202 203 // If set, we forward stderr and stdout data to the server as messages with: 204 // 205 // message_type="StdOutput" 206 // data=<fleetspeak.daemonservice.StdOutputData> 207 type Config_StdParams struct { 208 state protoimpl.MessageState 209 sizeCache protoimpl.SizeCache 210 unknownFields protoimpl.UnknownFields 211 212 ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Service on the server to forward to. Required. 213 // A message will be sent when we have flush_bytes queued, or when we 214 // have bytes flush_time_seconds old. 215 FlushBytes int32 `protobuf:"varint,2,opt,name=flush_bytes,json=flushBytes,proto3" json:"flush_bytes,omitempty"` // Default and maximum value is 1MB. 216 FlushTimeSeconds int32 `protobuf:"varint,3,opt,name=flush_time_seconds,json=flushTimeSeconds,proto3" json:"flush_time_seconds,omitempty"` // Default is 60. 217 } 218 219 func (x *Config_StdParams) Reset() { 220 *x = Config_StdParams{} 221 if protoimpl.UnsafeEnabled { 222 mi := &file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_msgTypes[1] 223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 224 ms.StoreMessageInfo(mi) 225 } 226 } 227 228 func (x *Config_StdParams) String() string { 229 return protoimpl.X.MessageStringOf(x) 230 } 231 232 func (*Config_StdParams) ProtoMessage() {} 233 234 func (x *Config_StdParams) ProtoReflect() protoreflect.Message { 235 mi := &file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_msgTypes[1] 236 if protoimpl.UnsafeEnabled && x != nil { 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 238 if ms.LoadMessageInfo() == nil { 239 ms.StoreMessageInfo(mi) 240 } 241 return ms 242 } 243 return mi.MessageOf(x) 244 } 245 246 // Deprecated: Use Config_StdParams.ProtoReflect.Descriptor instead. 247 func (*Config_StdParams) Descriptor() ([]byte, []int) { 248 return file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDescGZIP(), []int{0, 0} 249 } 250 251 func (x *Config_StdParams) GetServiceName() string { 252 if x != nil { 253 return x.ServiceName 254 } 255 return "" 256 } 257 258 func (x *Config_StdParams) GetFlushBytes() int32 { 259 if x != nil { 260 return x.FlushBytes 261 } 262 return 0 263 } 264 265 func (x *Config_StdParams) GetFlushTimeSeconds() int32 { 266 if x != nil { 267 return x.FlushTimeSeconds 268 } 269 return 0 270 } 271 272 var File_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto protoreflect.FileDescriptor 273 274 var file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDesc = []byte{ 275 0x0a, 0x4f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73, 0x72, 0x63, 276 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x73, 0x65, 277 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c, 0x65, 0x65, 278 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x73, 0x65, 0x72, 279 0x76, 0x69, 0x63, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 280 0x6f, 0x12, 0x18, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2e, 0x64, 0x61, 281 0x65, 0x6d, 0x6f, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 282 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 283 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x09, 0x0a, 0x06, 284 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x76, 0x18, 0x01, 285 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x76, 0x12, 0x48, 0x0a, 0x12, 0x69, 0x6e, 286 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 287 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 288 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 289 0x6e, 0x52, 0x11, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x69, 0x6d, 290 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x61, 0x7a, 0x79, 0x5f, 0x73, 0x74, 0x61, 291 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6c, 0x61, 0x7a, 0x79, 0x53, 0x74, 292 0x61, 0x72, 0x74, 0x12, 0x3e, 0x0a, 0x1b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 293 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 294 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 295 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 296 0x69, 0x6e, 0x67, 0x12, 0x45, 0x0a, 0x1f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 297 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 298 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x1c, 0x72, 0x65, 299 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 300 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x5c, 0x0a, 0x29, 0x72, 0x65, 301 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 302 0x67, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x5f, 303 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x42, 0x02, 0x18, 304 0x01, 0x52, 0x25, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 305 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 306 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x64, 0x0a, 0x21, 0x72, 0x65, 0x73, 0x6f, 307 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5f, 308 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x0c, 0x20, 309 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 310 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x1e, 311 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 312 0x6e, 0x67, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x21, 313 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 314 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 315 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x5f, 0x68, 0x65, 0x61, 316 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x6d, 317 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 318 0x12, 0x60, 0x0a, 0x2b, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x75, 0x6e, 319 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x67, 0x72, 0x61, 0x63, 0x65, 320 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 321 0x09, 0x20, 0x01, 0x28, 0x05, 0x42, 0x02, 0x18, 0x01, 0x52, 0x27, 0x68, 0x65, 0x61, 0x72, 0x74, 322 0x62, 0x65, 0x61, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x76, 0x65, 323 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 324 0x64, 0x73, 0x12, 0x68, 0x0a, 0x23, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 325 0x75, 0x6e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x67, 0x72, 0x61, 326 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 327 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 328 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x20, 0x68, 0x65, 0x61, 0x72, 329 0x74, 0x62, 0x65, 0x61, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x76, 330 0x65, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x5e, 0x0a, 0x2a, 331 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x75, 0x6e, 0x72, 0x65, 0x73, 0x70, 332 0x6f, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x69, 333 0x6f, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 334 0x42, 0x02, 0x18, 0x01, 0x52, 0x26, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x55, 335 0x6e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x50, 336 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x66, 0x0a, 0x22, 337 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x75, 0x6e, 0x72, 0x65, 0x73, 0x70, 338 0x6f, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x69, 339 0x6f, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 340 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 341 0x69, 0x6f, 0x6e, 0x52, 0x1f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x55, 0x6e, 342 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x50, 0x65, 343 0x72, 0x69, 0x6f, 0x64, 0x12, 0x49, 0x0a, 0x0a, 0x73, 0x74, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x61, 344 0x6d, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 345 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2e, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x73, 0x65, 0x72, 0x76, 346 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x74, 0x64, 0x50, 0x61, 347 0x72, 0x61, 0x6d, 0x73, 0x52, 0x09, 0x73, 0x74, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 348 0x7d, 0x0a, 0x09, 0x53, 0x74, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x21, 0x0a, 0x0c, 349 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 350 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 351 0x1f, 0x0a, 0x0b, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 352 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 353 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 354 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x66, 0x6c, 355 0x75, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x61, 356 0x5a, 0x5f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 357 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x66, 358 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x63, 0x6c, 359 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x69, 360 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 361 0x65, 0x61, 0x6b, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 362 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 363 } 364 365 var ( 366 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDescOnce sync.Once 367 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDescData = file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDesc 368 ) 369 370 func file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDescGZIP() []byte { 371 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDescOnce.Do(func() { 372 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDescData) 373 }) 374 return file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDescData 375 } 376 377 var file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 378 var file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_goTypes = []interface{}{ 379 (*Config)(nil), // 0: fleetspeak.daemonservice.Config 380 (*Config_StdParams)(nil), // 1: fleetspeak.daemonservice.Config.StdParams 381 (*durationpb.Duration)(nil), // 2: google.protobuf.Duration 382 } 383 var file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_depIdxs = []int32{ 384 2, // 0: fleetspeak.daemonservice.Config.inactivity_timeout:type_name -> google.protobuf.Duration 385 2, // 1: fleetspeak.daemonservice.Config.resource_monitoring_sample_period:type_name -> google.protobuf.Duration 386 2, // 2: fleetspeak.daemonservice.Config.heartbeat_unresponsive_grace_period:type_name -> google.protobuf.Duration 387 2, // 3: fleetspeak.daemonservice.Config.heartbeat_unresponsive_kill_period:type_name -> google.protobuf.Duration 388 1, // 4: fleetspeak.daemonservice.Config.std_params:type_name -> fleetspeak.daemonservice.Config.StdParams 389 5, // [5:5] is the sub-list for method output_type 390 5, // [5:5] is the sub-list for method input_type 391 5, // [5:5] is the sub-list for extension type_name 392 5, // [5:5] is the sub-list for extension extendee 393 0, // [0:5] is the sub-list for field type_name 394 } 395 396 func init() { 397 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_init() 398 } 399 func file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_init() { 400 if File_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto != nil { 401 return 402 } 403 if !protoimpl.UnsafeEnabled { 404 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 405 switch v := v.(*Config); i { 406 case 0: 407 return &v.state 408 case 1: 409 return &v.sizeCache 410 case 2: 411 return &v.unknownFields 412 default: 413 return nil 414 } 415 } 416 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 417 switch v := v.(*Config_StdParams); i { 418 case 0: 419 return &v.state 420 case 1: 421 return &v.sizeCache 422 case 2: 423 return &v.unknownFields 424 default: 425 return nil 426 } 427 } 428 } 429 type x struct{} 430 out := protoimpl.TypeBuilder{ 431 File: protoimpl.DescBuilder{ 432 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 433 RawDescriptor: file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDesc, 434 NumEnums: 0, 435 NumMessages: 2, 436 NumExtensions: 0, 437 NumServices: 0, 438 }, 439 GoTypes: file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_goTypes, 440 DependencyIndexes: file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_depIdxs, 441 MessageInfos: file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_msgTypes, 442 }.Build() 443 File_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto = out.File 444 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_rawDesc = nil 445 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_goTypes = nil 446 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_config_proto_depIdxs = nil 447 }