github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/client/generic/proto/fleetspeak_client_generic/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/generic/proto/fleetspeak_client_generic/config.proto 6 7 package fleetspeak_client_generic 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type Config struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 // One or more PEM encoded certificates that the client should trust, 29 // typically a CA certificate specific to the installation. 30 TrustedCerts string `protobuf:"bytes,1,opt,name=trusted_certs,json=trustedCerts,proto3" json:"trusted_certs,omitempty"` 31 // The servers that the client should attempt to connect to in <host>:<port> 32 // format. E.g. "lazy.com:443", "10.0.0.5:1234" 33 Server []string `protobuf:"bytes,2,rep,name=server,proto3" json:"server,omitempty"` 34 // The client labels that this client should present to the server. Labels 35 // indicating the client architecture and OS are automatically included. 36 ClientLabel []string `protobuf:"bytes,3,rep,name=client_label,json=clientLabel,proto3" json:"client_label,omitempty"` 37 // Types that are assignable to PersistenceHandler: 38 // 39 // *Config_FilesystemHandler 40 // *Config_RegistryHandler 41 PersistenceHandler isConfig_PersistenceHandler `protobuf_oneof:"persistence_handler"` 42 // If set, the client will use long running persistent connections, otherwise 43 // it will make regular short lived polls to the server. Recommended. 44 Streaming bool `protobuf:"varint,6,opt,name=streaming,proto3" json:"streaming,omitempty"` 45 // If provided, proxy used for connecting to the server. 46 // The format is a URL. 47 // See https://golang.org/pkg/net/http/#Transport.Proxy for details. 48 Proxy string `protobuf:"bytes,7,opt,name=proxy,proto3" json:"proxy,omitempty"` 49 // The name of the HTTP header that the client uses to pass its certificate to 50 // the server frontend for identification. Required only if the server 51 // frontend is configured to use https_header_checksum_config. 52 ClientCertificateHeader string `protobuf:"bytes,8,opt,name=client_certificate_header,json=clientCertificateHeader,proto3" json:"client_certificate_header,omitempty"` 53 // If set, used for SNI and certificate validation. 54 ServerName string `protobuf:"bytes,9,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` 55 } 56 57 func (x *Config) Reset() { 58 *x = Config{} 59 if protoimpl.UnsafeEnabled { 60 mi := &file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_msgTypes[0] 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 62 ms.StoreMessageInfo(mi) 63 } 64 } 65 66 func (x *Config) String() string { 67 return protoimpl.X.MessageStringOf(x) 68 } 69 70 func (*Config) ProtoMessage() {} 71 72 func (x *Config) ProtoReflect() protoreflect.Message { 73 mi := &file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_msgTypes[0] 74 if protoimpl.UnsafeEnabled && x != nil { 75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 76 if ms.LoadMessageInfo() == nil { 77 ms.StoreMessageInfo(mi) 78 } 79 return ms 80 } 81 return mi.MessageOf(x) 82 } 83 84 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 85 func (*Config) Descriptor() ([]byte, []int) { 86 return file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDescGZIP(), []int{0} 87 } 88 89 func (x *Config) GetTrustedCerts() string { 90 if x != nil { 91 return x.TrustedCerts 92 } 93 return "" 94 } 95 96 func (x *Config) GetServer() []string { 97 if x != nil { 98 return x.Server 99 } 100 return nil 101 } 102 103 func (x *Config) GetClientLabel() []string { 104 if x != nil { 105 return x.ClientLabel 106 } 107 return nil 108 } 109 110 func (m *Config) GetPersistenceHandler() isConfig_PersistenceHandler { 111 if m != nil { 112 return m.PersistenceHandler 113 } 114 return nil 115 } 116 117 func (x *Config) GetFilesystemHandler() *FilesystemHandler { 118 if x, ok := x.GetPersistenceHandler().(*Config_FilesystemHandler); ok { 119 return x.FilesystemHandler 120 } 121 return nil 122 } 123 124 func (x *Config) GetRegistryHandler() *RegistryHandler { 125 if x, ok := x.GetPersistenceHandler().(*Config_RegistryHandler); ok { 126 return x.RegistryHandler 127 } 128 return nil 129 } 130 131 func (x *Config) GetStreaming() bool { 132 if x != nil { 133 return x.Streaming 134 } 135 return false 136 } 137 138 func (x *Config) GetProxy() string { 139 if x != nil { 140 return x.Proxy 141 } 142 return "" 143 } 144 145 func (x *Config) GetClientCertificateHeader() string { 146 if x != nil { 147 return x.ClientCertificateHeader 148 } 149 return "" 150 } 151 152 func (x *Config) GetServerName() string { 153 if x != nil { 154 return x.ServerName 155 } 156 return "" 157 } 158 159 type isConfig_PersistenceHandler interface { 160 isConfig_PersistenceHandler() 161 } 162 163 type Config_FilesystemHandler struct { 164 FilesystemHandler *FilesystemHandler `protobuf:"bytes,4,opt,name=filesystem_handler,json=filesystemHandler,proto3,oneof"` 165 } 166 167 type Config_RegistryHandler struct { 168 RegistryHandler *RegistryHandler `protobuf:"bytes,5,opt,name=registry_handler,json=registryHandler,proto3,oneof"` 169 } 170 171 func (*Config_FilesystemHandler) isConfig_PersistenceHandler() {} 172 173 func (*Config_RegistryHandler) isConfig_PersistenceHandler() {} 174 175 type FilesystemHandler struct { 176 state protoimpl.MessageState 177 sizeCache protoimpl.SizeCache 178 unknownFields protoimpl.UnknownFields 179 180 // Where to persist client state, see NewFilesystemPersistenceHandler for 181 // details: 182 // 183 // https://godoc.org/github.com/google/fleetspeak/fleetspeak/src/client/config#FilesystemPersistenceHandler 184 ConfigurationDirectory string `protobuf:"bytes,1,opt,name=configuration_directory,json=configurationDirectory,proto3" json:"configuration_directory,omitempty"` 185 StateFile string `protobuf:"bytes,2,opt,name=state_file,json=stateFile,proto3" json:"state_file,omitempty"` 186 } 187 188 func (x *FilesystemHandler) Reset() { 189 *x = FilesystemHandler{} 190 if protoimpl.UnsafeEnabled { 191 mi := &file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_msgTypes[1] 192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 193 ms.StoreMessageInfo(mi) 194 } 195 } 196 197 func (x *FilesystemHandler) String() string { 198 return protoimpl.X.MessageStringOf(x) 199 } 200 201 func (*FilesystemHandler) ProtoMessage() {} 202 203 func (x *FilesystemHandler) ProtoReflect() protoreflect.Message { 204 mi := &file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_msgTypes[1] 205 if protoimpl.UnsafeEnabled && x != nil { 206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 207 if ms.LoadMessageInfo() == nil { 208 ms.StoreMessageInfo(mi) 209 } 210 return ms 211 } 212 return mi.MessageOf(x) 213 } 214 215 // Deprecated: Use FilesystemHandler.ProtoReflect.Descriptor instead. 216 func (*FilesystemHandler) Descriptor() ([]byte, []int) { 217 return file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDescGZIP(), []int{1} 218 } 219 220 func (x *FilesystemHandler) GetConfigurationDirectory() string { 221 if x != nil { 222 return x.ConfigurationDirectory 223 } 224 return "" 225 } 226 227 func (x *FilesystemHandler) GetStateFile() string { 228 if x != nil { 229 return x.StateFile 230 } 231 return "" 232 } 233 234 type RegistryHandler struct { 235 state protoimpl.MessageState 236 sizeCache protoimpl.SizeCache 237 unknownFields protoimpl.UnknownFields 238 239 // Where to persist client state, see NewWindowsRegistryPersistenceHandler 240 // for details: 241 // 242 // https://github.com/google/fleetspeak/blob/master/fleetspeak/src/client/config/windows_registry_persistence_handler.go 243 ConfigurationKey string `protobuf:"bytes,1,opt,name=configuration_key,json=configurationKey,proto3" json:"configuration_key,omitempty"` 244 } 245 246 func (x *RegistryHandler) Reset() { 247 *x = RegistryHandler{} 248 if protoimpl.UnsafeEnabled { 249 mi := &file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_msgTypes[2] 250 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 251 ms.StoreMessageInfo(mi) 252 } 253 } 254 255 func (x *RegistryHandler) String() string { 256 return protoimpl.X.MessageStringOf(x) 257 } 258 259 func (*RegistryHandler) ProtoMessage() {} 260 261 func (x *RegistryHandler) ProtoReflect() protoreflect.Message { 262 mi := &file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_msgTypes[2] 263 if protoimpl.UnsafeEnabled && x != nil { 264 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 265 if ms.LoadMessageInfo() == nil { 266 ms.StoreMessageInfo(mi) 267 } 268 return ms 269 } 270 return mi.MessageOf(x) 271 } 272 273 // Deprecated: Use RegistryHandler.ProtoReflect.Descriptor instead. 274 func (*RegistryHandler) Descriptor() ([]byte, []int) { 275 return file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDescGZIP(), []int{2} 276 } 277 278 func (x *RegistryHandler) GetConfigurationKey() string { 279 if x != nil { 280 return x.ConfigurationKey 281 } 282 return "" 283 } 284 285 var File_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto protoreflect.FileDescriptor 286 287 var file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDesc = []byte{ 288 0x0a, 0x4a, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73, 0x72, 0x63, 289 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2f, 290 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 291 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2f, 292 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x66, 0x6c, 293 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 294 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x22, 0xc8, 0x03, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 295 0x69, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x65, 296 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72, 0x75, 0x73, 0x74, 297 0x65, 0x64, 0x43, 0x65, 0x72, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 298 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 299 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 300 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x61, 0x62, 301 0x65, 0x6c, 0x12, 0x5d, 0x0a, 0x12, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 302 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 303 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2e, 0x63, 0x6c, 0x69, 0x65, 304 0x6e, 0x74, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x73, 305 0x79, 0x73, 0x74, 0x65, 0x6d, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x48, 0x00, 0x52, 0x11, 306 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 307 0x72, 0x12, 0x57, 0x0a, 0x10, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x68, 0x61, 308 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 309 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 310 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 311 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, 0x67, 0x69, 0x73, 312 0x74, 0x72, 0x79, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 313 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 314 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x78, 315 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x3a, 316 0x0a, 0x19, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 317 0x63, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 318 0x09, 0x52, 0x17, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 319 0x63, 0x61, 0x74, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 320 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 321 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x15, 0x0a, 0x13, 0x70, 322 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 323 0x65, 0x72, 0x22, 0x6b, 0x0a, 0x11, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 324 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x17, 0x63, 0x6f, 0x6e, 0x66, 0x69, 325 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 326 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 327 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 328 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 329 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x22, 330 0x3e, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x48, 0x61, 0x6e, 0x64, 0x6c, 331 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 332 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 333 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x42, 334 0x5c, 0x5a, 0x5a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 335 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 336 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x63, 337 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2f, 0x70, 0x72, 338 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x5f, 0x63, 339 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x62, 0x06, 0x70, 340 0x72, 0x6f, 0x74, 0x6f, 0x33, 341 } 342 343 var ( 344 file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDescOnce sync.Once 345 file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDescData = file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDesc 346 ) 347 348 func file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDescGZIP() []byte { 349 file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDescOnce.Do(func() { 350 file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDescData) 351 }) 352 return file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDescData 353 } 354 355 var file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 356 var file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_goTypes = []interface{}{ 357 (*Config)(nil), // 0: fleetspeak.client.generic.Config 358 (*FilesystemHandler)(nil), // 1: fleetspeak.client.generic.FilesystemHandler 359 (*RegistryHandler)(nil), // 2: fleetspeak.client.generic.RegistryHandler 360 } 361 var file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_depIdxs = []int32{ 362 1, // 0: fleetspeak.client.generic.Config.filesystem_handler:type_name -> fleetspeak.client.generic.FilesystemHandler 363 2, // 1: fleetspeak.client.generic.Config.registry_handler:type_name -> fleetspeak.client.generic.RegistryHandler 364 2, // [2:2] is the sub-list for method output_type 365 2, // [2:2] is the sub-list for method input_type 366 2, // [2:2] is the sub-list for extension type_name 367 2, // [2:2] is the sub-list for extension extendee 368 0, // [0:2] is the sub-list for field type_name 369 } 370 371 func init() { file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_init() } 372 func file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_init() { 373 if File_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto != nil { 374 return 375 } 376 if !protoimpl.UnsafeEnabled { 377 file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 378 switch v := v.(*Config); i { 379 case 0: 380 return &v.state 381 case 1: 382 return &v.sizeCache 383 case 2: 384 return &v.unknownFields 385 default: 386 return nil 387 } 388 } 389 file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 390 switch v := v.(*FilesystemHandler); i { 391 case 0: 392 return &v.state 393 case 1: 394 return &v.sizeCache 395 case 2: 396 return &v.unknownFields 397 default: 398 return nil 399 } 400 } 401 file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 402 switch v := v.(*RegistryHandler); i { 403 case 0: 404 return &v.state 405 case 1: 406 return &v.sizeCache 407 case 2: 408 return &v.unknownFields 409 default: 410 return nil 411 } 412 } 413 } 414 file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_msgTypes[0].OneofWrappers = []interface{}{ 415 (*Config_FilesystemHandler)(nil), 416 (*Config_RegistryHandler)(nil), 417 } 418 type x struct{} 419 out := protoimpl.TypeBuilder{ 420 File: protoimpl.DescBuilder{ 421 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 422 RawDescriptor: file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDesc, 423 NumEnums: 0, 424 NumMessages: 3, 425 NumExtensions: 0, 426 NumServices: 0, 427 }, 428 GoTypes: file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_goTypes, 429 DependencyIndexes: file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_depIdxs, 430 MessageInfos: file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_msgTypes, 431 }.Build() 432 File_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto = out.File 433 file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_rawDesc = nil 434 file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_goTypes = nil 435 file_fleetspeak_src_client_generic_proto_fleetspeak_client_generic_config_proto_depIdxs = nil 436 }