| /* Automatically generated nanopb constant definitions */ |
| /* Generated by nanopb-0.3.9.3 at Wed Jun 5 11:00:24 2019. */ |
| |
| #include "config.pb.h" |
| |
| /* @@protoc_insertion_point(includes) */ |
| #if PB_PROTO_HEADER_VERSION != 30 |
| #error Regenerate this file with the current version of nanopb generator. |
| #endif |
| |
| |
| |
| const pb_field_t schema_ContainerCollectorConfig_fields[2] = { |
| PB_FIELD( 1, BOOL , SINGULAR, STATIC , FIRST, schema_ContainerCollectorConfig, enabled, enabled, 0), |
| PB_LAST_FIELD |
| }; |
| |
| const pb_field_t schema_ExecuteCollectorConfig_fields[5] = { |
| PB_FIELD( 1, BOOL , SINGULAR, STATIC , FIRST, schema_ExecuteCollectorConfig, enabled, enabled, 0), |
| PB_FIELD( 2, UINT32 , SINGULAR, STATIC , OTHER, schema_ExecuteCollectorConfig, argv_limit, enabled, 0), |
| PB_FIELD( 3, UINT32 , SINGULAR, STATIC , OTHER, schema_ExecuteCollectorConfig, envp_limit, argv_limit, 0), |
| PB_FIELD( 4, STRING , REPEATED, CALLBACK, OTHER, schema_ExecuteCollectorConfig, envp_allowlist, envp_limit, 0), |
| PB_LAST_FIELD |
| }; |
| |
| const pb_field_t schema_MemExecCollectorConfig_fields[2] = { |
| PB_FIELD( 1, BOOL , SINGULAR, STATIC , FIRST, schema_MemExecCollectorConfig, enabled, enabled, 0), |
| PB_LAST_FIELD |
| }; |
| |
| const pb_field_t schema_ConfigurationRequest_fields[4] = { |
| PB_FIELD( 1, MESSAGE , SINGULAR, STATIC , FIRST, schema_ConfigurationRequest, container_config, container_config, &schema_ContainerCollectorConfig_fields), |
| PB_FIELD( 2, MESSAGE , SINGULAR, STATIC , OTHER, schema_ConfigurationRequest, execute_config, container_config, &schema_ExecuteCollectorConfig_fields), |
| PB_FIELD( 3, MESSAGE , SINGULAR, STATIC , OTHER, schema_ConfigurationRequest, memexec_config, execute_config, &schema_MemExecCollectorConfig_fields), |
| PB_LAST_FIELD |
| }; |
| |
| const pb_field_t schema_ConfigurationResponse_fields[5] = { |
| PB_FIELD( 1, UENUM , SINGULAR, STATIC , FIRST, schema_ConfigurationResponse, error, error, 0), |
| PB_FIELD( 2, STRING , SINGULAR, CALLBACK, OTHER, schema_ConfigurationResponse, msg, error, 0), |
| PB_FIELD( 3, UINT64 , SINGULAR, STATIC , OTHER, schema_ConfigurationResponse, version, msg, 0), |
| PB_FIELD( 4, UINT32 , SINGULAR, STATIC , OTHER, schema_ConfigurationResponse, kernel_version, version, 0), |
| PB_LAST_FIELD |
| }; |
| |
| |
| |
| /* Check that field information fits in pb_field_t */ |
| #if !defined(PB_FIELD_32BIT) |
| /* If you get an error here, it means that you need to define PB_FIELD_32BIT |
| * compile-time option. You can do that in pb.h or on compiler command line. |
| * |
| * The reason you need to do this is that some of your messages contain tag |
| * numbers or field sizes that are larger than what can fit in 8 or 16 bit |
| * field descriptors. |
| */ |
| PB_STATIC_ASSERT((pb_membersize(schema_ConfigurationRequest, container_config) < 65536 && pb_membersize(schema_ConfigurationRequest, execute_config) < 65536 && pb_membersize(schema_ConfigurationRequest, memexec_config) < 65536), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_schema_ContainerCollectorConfig_schema_ExecuteCollectorConfig_schema_MemExecCollectorConfig_schema_ConfigurationRequest_schema_ConfigurationResponse) |
| #endif |
| |
| #if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT) |
| /* If you get an error here, it means that you need to define PB_FIELD_16BIT |
| * compile-time option. You can do that in pb.h or on compiler command line. |
| * |
| * The reason you need to do this is that some of your messages contain tag |
| * numbers or field sizes that are larger than what can fit in the default |
| * 8 bit descriptors. |
| */ |
| PB_STATIC_ASSERT((pb_membersize(schema_ConfigurationRequest, container_config) < 256 && pb_membersize(schema_ConfigurationRequest, execute_config) < 256 && pb_membersize(schema_ConfigurationRequest, memexec_config) < 256), YOU_MUST_DEFINE_PB_FIELD_16BIT_FOR_MESSAGES_schema_ContainerCollectorConfig_schema_ExecuteCollectorConfig_schema_MemExecCollectorConfig_schema_ConfigurationRequest_schema_ConfigurationResponse) |
| #endif |
| |
| |
| /* @@protoc_insertion_point(eof) */ |