6 #ifndef PROTOBUF_C_ump_5fmon_2eproto__INCLUDED 7 #define PROTOBUF_C_ump_5fmon_2eproto__INCLUDED 9 #include <protobuf-c/protobuf-c.h> 11 PROTOBUF_C__BEGIN_DECLS
13 #if PROTOBUF_C_VERSION_NUMBER < 1003000 14 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. 15 #elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION 16 # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. 38 typedef enum _Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RepositoryType {
42 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__REPOSITORY_TYPE__REPO_TYPE_NOCACHE = 0,
46 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__REPOSITORY_TYPE__REPO_TYPE_MEMORY = 1,
50 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__REPOSITORY_TYPE__REPO_TYPE_DISK = 2,
54 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__REPOSITORY_TYPE__REPO_TYPE_REDUCED_FD = 3
55 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__REPOSITORY_TYPE)
56 } Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RepositoryType;
57 typedef enum _Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__AllowAckOnReception {
58 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__ALLOW_ACK_ON_RECEPTION__DO_NOT_ALLOW_ACK_ON_RECEPTION = 0,
59 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__ALLOW_ACK_ON_RECEPTION__ALLOW_ACK_ON_RECEPTION = 1
60 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__ALLOW_ACK_ON_RECEPTION)
61 } Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__AllowAckOnReception;
62 typedef enum _Lbmmon__UMPMonMsg__Configs__TopicType {
66 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_TYPE__TOPIC_TYPE_DIRECT = 0,
70 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_TYPE__TOPIC_TYPE_PCRE = 1,
74 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_TYPE__TOPIC_TYPE_REGEXP = 2
75 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LBMMON__UMPMON_MSG__CONFIGS__TOPIC_TYPE)
76 } Lbmmon__UMPMonMsg__Configs__TopicType;
77 typedef enum _Lbmmon__UMPMonMsg__Events__EventType {
78 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__NON_EVENT = 0,
82 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__STORE_CREATED_EVENT = 1,
86 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__STORE_DELETED_EVENT = 2,
90 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__SOURCE_REGISTERED_EVENT = 3,
94 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__SOURCE_REREGISTERED_EVENT = 4,
98 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__SOURCE_DEREGISTERED_EVENT = 5,
102 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__SOURCE_RECREATED_EVENT = 6,
106 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__SOURCE_DELETED_EVENT = 7,
110 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__PROXY_SOURCE_CREATED_EVENT = 8,
114 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__PROXY_SOURCE_DELETED_EVENT = 9,
118 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__TOPIC_CREATE_EVENT = 10,
122 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RPP_WRITING_EVENT = 11,
126 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RPP_REPO_EMPTY_EVENT = 12,
130 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RECEIVER_REGISTERED_EVENT = 13,
134 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RECEIVER_REREGISTERED_EVENT = 14,
138 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RECEIVER_DEREGISTERED_EVENT = 15,
142 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RECEIVER_RECREATED_EVENT = 16,
146 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RECEIVER_DELETED_EVENT = 17
147 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE)
148 } Lbmmon__UMPMonMsg__Events__EventType;
149 typedef enum _Lbmmon__UMPMonMsg__Events__DeletionReasonCode {
150 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__NOT_APPLICABLE = 0,
151 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__DELETED = 1,
152 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__STATE_LIFETIME_EXPIRED = 2,
153 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__PROXY_SRC_REREGISTERED = 3,
154 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__PROXY_SRC_STATE_LIFETIME_EXPIRED = 4,
155 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__SRC_DELETED = 5,
156 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__SRC_RECREATED = 6
157 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE)
158 } Lbmmon__UMPMonMsg__Events__DeletionReasonCode;
164 ProtobufCMessage base;
165 Lbmmon__UMPMonMsg__Configs__TopicType topic_type;
168 #define LBMMON__UMPMON_MSG__CONFIGS__PATTERN_CONFIG__INIT \ 169 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__configs__pattern_config__descriptor) \ 170 , LBMMON__UMPMON_MSG__CONFIGS__TOPIC_TYPE__TOPIC_TYPE_DIRECT, (char *)protobuf_c_empty_string } 175 ProtobufCMessage base;
178 uint32_t dmon_topic_idx;
179 uint64_t rcv_session_id;
180 uint32_t transport_idx;
186 #define LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__RCV_CONFIG__INIT \ 187 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__configs__topic_config__repo_config__rcv_config__descriptor) \ 188 , 0, 0, 0, 0, 0, 0, 0, 0, 0 } 193 ProtobufCMessage base;
195 uint32_t dmon_topic_idx;
197 uint32_t src_domain_id;
198 uint64_t src_session_id;
199 uint64_t src_flightsz_bytes;
200 uint32_t repo_sz_threshold;
201 uint32_t repo_sz_limit;
202 uint64_t repo_disk_sz_limit;
203 uint32_t repo_disk_write_delay;
204 Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RepositoryType repository_type;
205 Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__AllowAckOnReception allow_ack_on_reception;
206 uint32_t age_threshold;
207 uint32_t disk_max_write_aiocbs;
208 uint32_t disk_max_read_aiocbs;
209 uint32_t disk_aio_buffer_len;
211 size_t n_rcv_configs;
214 #define LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__INIT \ 215 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__configs__topic_config__repo_config__descriptor) \ 216 , 0, 0, (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0, 0, 0, LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__REPOSITORY_TYPE__REPO_TYPE_NOCACHE, LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__ALLOW_ACK_ON_RECEPTION__DO_NOT_ALLOW_ACK_ON_RECEPTION, 0, 0, 0, 0, (char *)protobuf_c_empty_string, 0,NULL } 221 ProtobufCMessage base;
222 uint32_t dmon_topic_idx;
224 size_t n_repo_configs;
227 #define LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__INIT \ 228 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__configs__topic_config__descriptor) \ 229 , 0, (char *)protobuf_c_empty_string, 0,NULL } 234 ProtobufCMessage base;
236 char *smartheap_version;
241 char *disk_cache_dir_name;
242 char *disk_state_dir_name;
243 uint32_t max_retransmission_processing_rate;
246 size_t n_pattern_configs;
248 size_t n_topic_configs;
251 #define LBMMON__UMPMON_MSG__CONFIGS__INIT \ 252 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__configs__descriptor) \ 253 , (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0, 0, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0, 0, 0,NULL, 0,NULL } 258 ProtobufCMessage base;
261 uint64_t smallblocksize;
264 #define LBMMON__UMPMON_MSG__STATS__SMART_HEAP_STAT__INIT \ 265 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__stats__smart_heap_stat__descriptor) \ 271 ProtobufCMessage base;
273 uint64_t num_ios_pending;
274 uint64_t num_read_ios_pending;
275 uint64_t start_offset;
278 #define LBMMON__UMPMON_MSG__STATS__SRC_REPO_STAT__SRC_DISK_STAT__INIT \ 279 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__stats__src_repo_stat__src_disk_stat__descriptor) \ 285 ProtobufCMessage base;
287 uint32_t high_ack_sqn;
289 uint64_t rcv_session_id;
290 uint64_t last_activity_timestamp_sec;
292 #define LBMMON__UMPMON_MSG__STATS__SRC_REPO_STAT__RCV_STAT__INIT \ 293 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__stats__src_repo_stat__rcv_stat__descriptor) \ 299 ProtobufCMessage base;
302 uint64_t src_session_id;
303 uint64_t message_map_sz;
305 uint64_t rpp_memory_sz;
308 uint32_t sync_complete_sqn;
310 uint32_t mem_trail_sqn;
312 uint32_t high_ulb_sqn;
313 uint32_t map_intentional_drops;
316 uint64_t sz_limit_drops;
319 uint64_t last_activity_timestamp_sec;
324 #define LBMMON__UMPMON_MSG__STATS__SRC_REPO_STAT__INIT \ 325 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__stats__src_repo_stat__descriptor) \ 326 , 0, (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0,NULL } 331 ProtobufCMessage base;
333 uint32_t ume_retx_req_rcv_count;
334 uint32_t ume_retx_req_serviced_count;
335 uint32_t ume_retx_req_drop_count;
336 uint32_t ume_retx_req_total_dropped;
337 uint32_t ume_retx_stat_interval;
340 size_t n_src_repo_stats;
343 #define LBMMON__UMPMON_MSG__STATS__INIT \ 344 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__stats__descriptor) \ 345 , 0, 0, 0, 0, 0, 0, 0, NULL, 0,NULL } 350 ProtobufCMessage base;
351 uint64_t timestamp_sec;
352 uint64_t timestamp_usec;
353 Lbmmon__UMPMonMsg__Events__EventType event_type;
360 uint32_t dmon_topic_idx;
361 Lbmmon__UMPMonMsg__Events__DeletionReasonCode deletion_reason_code;
364 #define LBMMON__UMPMON_MSG__EVENTS__EVENT__INIT \ 365 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__events__event__descriptor) \ 366 , 0, 0, LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__NON_EVENT, 0, 0, 0, 0, 0, 0, 0, LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__NOT_APPLICABLE, (char *)protobuf_c_empty_string } 371 ProtobufCMessage base;
375 #define LBMMON__UMPMON_MSG__EVENTS__INIT \ 376 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__events__descriptor) \ 382 ProtobufCMessage base;
383 Lbmmon__UMMonAttributes *attributes;
388 #define LBMMON__UMPMON_MSG__INIT \ 389 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__descriptor) \ 390 , NULL, NULL, NULL, NULL } 394 void lbmmon__umpmon_msg__configs__pattern_config__init
397 void lbmmon__umpmon_msg__configs__topic_config__repo_config__rcv_config__init
400 void lbmmon__umpmon_msg__configs__topic_config__repo_config__init
403 void lbmmon__umpmon_msg__configs__topic_config__init
406 void lbmmon__umpmon_msg__configs__init
409 void lbmmon__umpmon_msg__stats__smart_heap_stat__init
412 void lbmmon__umpmon_msg__stats__src_repo_stat__src_disk_stat__init
415 void lbmmon__umpmon_msg__stats__src_repo_stat__rcv_stat__init
418 void lbmmon__umpmon_msg__stats__src_repo_stat__init
421 void lbmmon__umpmon_msg__stats__init
424 void lbmmon__umpmon_msg__events__event__init
427 void lbmmon__umpmon_msg__events__init
430 void lbmmon__umpmon_msg__init
431 (Lbmmon__UMPMonMsg *message);
432 size_t lbmmon__umpmon_msg__get_packed_size
433 (
const Lbmmon__UMPMonMsg *message);
434 size_t lbmmon__umpmon_msg__pack
435 (
const Lbmmon__UMPMonMsg *message,
437 size_t lbmmon__umpmon_msg__pack_to_buffer
438 (
const Lbmmon__UMPMonMsg *message,
439 ProtobufCBuffer *buffer);
441 lbmmon__umpmon_msg__unpack
442 (ProtobufCAllocator *allocator,
444 const uint8_t *data);
445 void lbmmon__umpmon_msg__free_unpacked
446 (Lbmmon__UMPMonMsg *message,
447 ProtobufCAllocator *allocator);
450 typedef void (*Lbmmon__UMPMonMsg__Configs__PatternConfig_Closure)
453 typedef void (*Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RcvConfig_Closure)
456 typedef void (*Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig_Closure)
459 typedef void (*Lbmmon__UMPMonMsg__Configs__TopicConfig_Closure)
462 typedef void (*Lbmmon__UMPMonMsg__Configs_Closure)
465 typedef void (*Lbmmon__UMPMonMsg__Stats__SmartHeapStat_Closure)
468 typedef void (*Lbmmon__UMPMonMsg__Stats__SrcRepoStat__SrcDiskStat_Closure)
471 typedef void (*Lbmmon__UMPMonMsg__Stats__SrcRepoStat__RcvStat_Closure)
474 typedef void (*Lbmmon__UMPMonMsg__Stats__SrcRepoStat_Closure)
477 typedef void (*Lbmmon__UMPMonMsg__Stats_Closure)
480 typedef void (*Lbmmon__UMPMonMsg__Events__Event_Closure)
483 typedef void (*Lbmmon__UMPMonMsg__Events_Closure)
486 typedef void (*Lbmmon__UMPMonMsg_Closure)
487 (
const Lbmmon__UMPMonMsg *message,
495 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__descriptor;
496 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__configs__descriptor;
497 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__configs__pattern_config__descriptor;
498 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__configs__topic_config__descriptor;
499 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__configs__topic_config__repo_config__descriptor;
500 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__configs__topic_config__repo_config__rcv_config__descriptor;
501 extern const ProtobufCEnumDescriptor lbmmon__umpmon_msg__configs__topic_config__repo_config__repository_type__descriptor;
502 extern const ProtobufCEnumDescriptor lbmmon__umpmon_msg__configs__topic_config__repo_config__allow_ack_on_reception__descriptor;
503 extern const ProtobufCEnumDescriptor lbmmon__umpmon_msg__configs__topic_type__descriptor;
504 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__stats__descriptor;
505 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__stats__smart_heap_stat__descriptor;
506 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__stats__src_repo_stat__descriptor;
507 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__stats__src_repo_stat__src_disk_stat__descriptor;
508 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__stats__src_repo_stat__rcv_stat__descriptor;
509 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__events__descriptor;
510 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__events__event__descriptor;
511 extern const ProtobufCEnumDescriptor lbmmon__umpmon_msg__events__event_type__descriptor;
512 extern const ProtobufCEnumDescriptor lbmmon__umpmon_msg__events__deletion_reason_code__descriptor;
514 PROTOBUF_C__END_DECLS
Definition: ump_mon.pb-c.h:256
LBMExpDLL const char * lbm_version(void)
return the version string compiled into UM.
Definition: ump_mon.pb-c.h:348
Definition: ump_mon.pb-c.h:297
Defintions for protocol buffers.
Definition: ump_mon.pb-c.h:269
Definition: ump_mon.pb-c.h:191
Definition: ump_mon.pb-c.h:283
Definition: ump_mon.pb-c.h:162
Definition: ump_mon.pb-c.h:219
Definition: ump_mon.pb-c.h:380
Definition: ump_mon.pb-c.h:232
Definition: ump_mon.pb-c.h:173
Definition: ump_mon.pb-c.h:369
Definition: ump_mon.pb-c.h:329