/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: StartDebugLogResponse.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "StartDebugLogResponse.pb-c.h"
void start_debug_log_response__init
(StartDebugLogResponse *message)
{
static const StartDebugLogResponse init_value = START_DEBUG_LOG_RESPONSE__INIT;
*message = init_value;
}
size_t start_debug_log_response__get_packed_size
(const StartDebugLogResponse *message)
{
assert(message->base.descriptor == &start_debug_log_response__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t start_debug_log_response__pack
(const StartDebugLogResponse *message,
uint8_t *out)
{
assert(message->base.descriptor == &start_debug_log_response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t start_debug_log_response__pack_to_buffer
(const StartDebugLogResponse *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &start_debug_log_response__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
StartDebugLogResponse *
start_debug_log_response__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (StartDebugLogResponse *)
protobuf_c_message_unpack (&start_debug_log_response__descriptor,
allocator, len, data);
}
void start_debug_log_response__free_unpacked
(StartDebugLogResponse *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &start_debug_log_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor start_debug_log_response__field_descriptors[6] =
{
{
"Category",
1,
PROTOBUF_C_LABEL_OPTIONAL,
PROTOBUF_C_TYPE_ENUM,
offsetof(StartDebugLogResponse, has_category),
offsetof(StartDebugLogResponse, 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(StartDebugLogResponse, filename),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"LineNumber",
3,
PROTOBUF_C_LABEL_OPTIONAL,
PROTOBUF_C_TYPE_UINT32,
offsetof(StartDebugLogResponse, has_linenumber),
offsetof(StartDebugLogResponse, linenumber),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"Filter",
4,
PROTOBUF_C_LABEL_OPTIONAL,
PROTOBUF_C_TYPE_UINT32,
offsetof(StartDebugLogResponse, has_filter),
offsetof(StartDebugLogResponse, 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(StartDebugLogResponse, message),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"ModuleId",
6,
PROTOBUF_C_LABEL_OPTIONAL,
PROTOBUF_C_TYPE_UINT32,
offsetof(StartDebugLogResponse, has_moduleid),
offsetof(StartDebugLogResponse, moduleid),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned start_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 start_debug_log_response__number_ranges[1 + 1] =
{
{ 1, 0 },
{ 0, 6 }
};
const ProtobufCMessageDescriptor start_debug_log_response__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"StartDebugLogResponse",
"StartDebugLogResponse",
"StartDebugLogResponse",
"",
sizeof(StartDebugLogResponse),
6,
start_debug_log_response__field_descriptors,
start_debug_log_response__field_indices_by_name,
1, start_debug_log_response__number_ranges,
(ProtobufCMessageInit) start_debug_log_response__init,
NULL,NULL,NULL /* reserved[123] */
};