/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: AnalyzeInput.proto */ /* Do not generate deprecated warnings for self */ #ifndef PROTOBUF_C__NO_DEPRECATED #define PROTOBUF_C__NO_DEPRECATED #endif #include "AnalyzeInput.pb-c.h" void analyze_input__init (AnalyzeInput *message) { static const AnalyzeInput init_value = ANALYZE_INPUT__INIT; *message = init_value; } size_t analyze_input__get_packed_size (const AnalyzeInput *message) { assert(message->base.descriptor == &analyze_input__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t analyze_input__pack (const AnalyzeInput *message, uint8_t *out) { assert(message->base.descriptor == &analyze_input__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t analyze_input__pack_to_buffer (const AnalyzeInput *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &analyze_input__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } AnalyzeInput * analyze_input__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (AnalyzeInput *) protobuf_c_message_unpack (&analyze_input__descriptor, allocator, len, data); } void analyze_input__free_unpacked (AnalyzeInput *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &analyze_input__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } static const ProtobufCFieldDescriptor analyze_input__field_descriptors[1] = { { "FilePath", 1, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_STRING, 0, /* quantifier_offset */ offsetof(AnalyzeInput, filepath), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned analyze_input__field_indices_by_name[] = { 0, /* field[0] = FilePath */ }; static const ProtobufCIntRange analyze_input__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor analyze_input__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "AnalyzeInput", "AnalyzeInput", "AnalyzeInput", "", sizeof(AnalyzeInput), 1, analyze_input__field_descriptors, analyze_input__field_indices_by_name, 1, analyze_input__number_ranges, (ProtobufCMessageInit) analyze_input__init, NULL,NULL,NULL /* reserved[123] */ };