/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: DebugLogResponse.proto */ /* Do not generate deprecated warnings for self */ #ifndef PROTOBUF_C__NO_DEPRECATED #define PROTOBUF_C__NO_DEPRECATED #endif #include "DebugLogResponse.pb-c.h" void debug_log_response__init (DebugLogResponse *message) { static const DebugLogResponse init_value = DEBUG_LOG_RESPONSE__INIT; *message = init_value; } size_t debug_log_response__get_packed_size (const DebugLogResponse *message) { assert(message->base.descriptor == &debug_log_response__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t debug_log_response__pack (const DebugLogResponse *message, uint8_t *out) { assert(message->base.descriptor == &debug_log_response__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t debug_log_response__pack_to_buffer (const DebugLogResponse *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &debug_log_response__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } DebugLogResponse * debug_log_response__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (DebugLogResponse *) protobuf_c_message_unpack (&debug_log_response__descriptor, allocator, len, data); } void debug_log_response__free_unpacked (DebugLogResponse *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &debug_log_response__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } static const ProtobufCFieldDescriptor debug_log_response__field_descriptors[6] = { { "Category", 1, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_ENUM, offsetof(DebugLogResponse, has_category), offsetof(DebugLogResponse, category), &debug_log_category__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "FileName", 2, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_STRING, 0, /* quantifier_offset */ offsetof(DebugLogResponse, filename), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "LineNumber", 3, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_UINT32, offsetof(DebugLogResponse, has_linenumber), offsetof(DebugLogResponse, linenumber), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "Filter", 4, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_UINT32, offsetof(DebugLogResponse, has_filter), offsetof(DebugLogResponse, filter), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "Message", 5, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_STRING, 0, /* quantifier_offset */ offsetof(DebugLogResponse, message), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "ModuleId", 6, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_UINT32, offsetof(DebugLogResponse, has_moduleid), offsetof(DebugLogResponse, moduleid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned debug_log_response__field_indices_by_name[] = { 0, /* field[0] = Category */ 1, /* field[1] = FileName */ 3, /* field[3] = Filter */ 2, /* field[2] = LineNumber */ 4, /* field[4] = Message */ 5, /* field[5] = ModuleId */ }; static const ProtobufCIntRange debug_log_response__number_ranges[1 + 1] = { { 1, 0 }, { 0, 6 } }; const ProtobufCMessageDescriptor debug_log_response__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "DebugLogResponse", "DebugLogResponse", "DebugLogResponse", "", sizeof(DebugLogResponse), 6, debug_log_response__field_descriptors, debug_log_response__field_indices_by_name, 1, debug_log_response__number_ranges, (ProtobufCMessageInit) debug_log_response__init, NULL,NULL,NULL /* reserved[123] */ };