/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: common/configuration.proto */

/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif

#include "common/configuration.pb-c.h"
void   common__hashing_algorithm__init
                     (Common__HashingAlgorithm         *message)
{
  static Common__HashingAlgorithm init_value = COMMON__HASHING_ALGORITHM__INIT;
  *message = init_value;
}
size_t common__hashing_algorithm__get_packed_size
                     (const Common__HashingAlgorithm *message)
{
  assert(message->base.descriptor == &common__hashing_algorithm__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__hashing_algorithm__pack
                     (const Common__HashingAlgorithm *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__hashing_algorithm__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__hashing_algorithm__pack_to_buffer
                     (const Common__HashingAlgorithm *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__hashing_algorithm__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__HashingAlgorithm *
       common__hashing_algorithm__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__HashingAlgorithm *)
     protobuf_c_message_unpack (&common__hashing_algorithm__descriptor,
                                allocator, len, data);
}
void   common__hashing_algorithm__free_unpacked
                     (Common__HashingAlgorithm *message,
                      ProtobufCAllocator *allocator)
{
  assert(message->base.descriptor == &common__hashing_algorithm__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__block_data_hashing_structure__init
                     (Common__BlockDataHashingStructure         *message)
{
  static Common__BlockDataHashingStructure init_value = COMMON__BLOCK_DATA_HASHING_STRUCTURE__INIT;
  *message = init_value;
}
size_t common__block_data_hashing_structure__get_packed_size
                     (const Common__BlockDataHashingStructure *message)
{
  assert(message->base.descriptor == &common__block_data_hashing_structure__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__block_data_hashing_structure__pack
                     (const Common__BlockDataHashingStructure *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__block_data_hashing_structure__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__block_data_hashing_structure__pack_to_buffer
                     (const Common__BlockDataHashingStructure *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__block_data_hashing_structure__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__BlockDataHashingStructure *
       common__block_data_hashing_structure__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__BlockDataHashingStructure *)
     protobuf_c_message_unpack (&common__block_data_hashing_structure__descriptor,
                                allocator, len, data);
}
void   common__block_data_hashing_structure__free_unpacked
                     (Common__BlockDataHashingStructure *message,
                      ProtobufCAllocator *allocator)
{
  assert(message->base.descriptor == &common__block_data_hashing_structure__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__orderer_addresses__init
                     (Common__OrdererAddresses         *message)
{
  static Common__OrdererAddresses init_value = COMMON__ORDERER_ADDRESSES__INIT;
  *message = init_value;
}
size_t common__orderer_addresses__get_packed_size
                     (const Common__OrdererAddresses *message)
{
  assert(message->base.descriptor == &common__orderer_addresses__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__orderer_addresses__pack
                     (const Common__OrdererAddresses *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__orderer_addresses__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__orderer_addresses__pack_to_buffer
                     (const Common__OrdererAddresses *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__orderer_addresses__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__OrdererAddresses *
       common__orderer_addresses__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__OrdererAddresses *)
     protobuf_c_message_unpack (&common__orderer_addresses__descriptor,
                                allocator, len, data);
}
void   common__orderer_addresses__free_unpacked
                     (Common__OrdererAddresses *message,
                      ProtobufCAllocator *allocator)
{
  assert(message->base.descriptor == &common__orderer_addresses__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__consortium__init
                     (Common__Consortium         *message)
{
  static Common__Consortium init_value = COMMON__CONSORTIUM__INIT;
  *message = init_value;
}
size_t common__consortium__get_packed_size
                     (const Common__Consortium *message)
{
  assert(message->base.descriptor == &common__consortium__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__consortium__pack
                     (const Common__Consortium *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__consortium__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__consortium__pack_to_buffer
                     (const Common__Consortium *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__consortium__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__Consortium *
       common__consortium__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__Consortium *)
     protobuf_c_message_unpack (&common__consortium__descriptor,
                                allocator, len, data);
}
void   common__consortium__free_unpacked
                     (Common__Consortium *message,
                      ProtobufCAllocator *allocator)
{
  assert(message->base.descriptor == &common__consortium__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__capabilities__capabilities_entry__init
                     (Common__Capabilities__CapabilitiesEntry         *message)
{
  static Common__Capabilities__CapabilitiesEntry init_value = COMMON__CAPABILITIES__CAPABILITIES_ENTRY__INIT;
  *message = init_value;
}
void   common__capabilities__init
                     (Common__Capabilities         *message)
{
  static Common__Capabilities init_value = COMMON__CAPABILITIES__INIT;
  *message = init_value;
}
size_t common__capabilities__get_packed_size
                     (const Common__Capabilities *message)
{
  assert(message->base.descriptor == &common__capabilities__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__capabilities__pack
                     (const Common__Capabilities *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__capabilities__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__capabilities__pack_to_buffer
                     (const Common__Capabilities *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__capabilities__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__Capabilities *
       common__capabilities__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__Capabilities *)
     protobuf_c_message_unpack (&common__capabilities__descriptor,
                                allocator, len, data);
}
void   common__capabilities__free_unpacked
                     (Common__Capabilities *message,
                      ProtobufCAllocator *allocator)
{
  assert(message->base.descriptor == &common__capabilities__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__capability__init
                     (Common__Capability         *message)
{
  static Common__Capability init_value = COMMON__CAPABILITY__INIT;
  *message = init_value;
}
size_t common__capability__get_packed_size
                     (const Common__Capability *message)
{
  assert(message->base.descriptor == &common__capability__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__capability__pack
                     (const Common__Capability *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__capability__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__capability__pack_to_buffer
                     (const Common__Capability *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__capability__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__Capability *
       common__capability__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__Capability *)
     protobuf_c_message_unpack (&common__capability__descriptor,
                                allocator, len, data);
}
void   common__capability__free_unpacked
                     (Common__Capability *message,
                      ProtobufCAllocator *allocator)
{
  assert(message->base.descriptor == &common__capability__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor common__hashing_algorithm__field_descriptors[1] =
{
  {
    "name",
    1,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__HashingAlgorithm, name),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__hashing_algorithm__field_indices_by_name[] = {
  0,   /* field[0] = name */
};
static const ProtobufCIntRange common__hashing_algorithm__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor common__hashing_algorithm__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.HashingAlgorithm",
  "HashingAlgorithm",
  "Common__HashingAlgorithm",
  "common",
  sizeof(Common__HashingAlgorithm),
  1,
  common__hashing_algorithm__field_descriptors,
  common__hashing_algorithm__field_indices_by_name,
  1,  common__hashing_algorithm__number_ranges,
  (ProtobufCMessageInit) common__hashing_algorithm__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__block_data_hashing_structure__field_descriptors[1] =
{
  {
    "width",
    1,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(Common__BlockDataHashingStructure, has_width),
    offsetof(Common__BlockDataHashingStructure, width),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__block_data_hashing_structure__field_indices_by_name[] = {
  0,   /* field[0] = width */
};
static const ProtobufCIntRange common__block_data_hashing_structure__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor common__block_data_hashing_structure__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.BlockDataHashingStructure",
  "BlockDataHashingStructure",
  "Common__BlockDataHashingStructure",
  "common",
  sizeof(Common__BlockDataHashingStructure),
  1,
  common__block_data_hashing_structure__field_descriptors,
  common__block_data_hashing_structure__field_indices_by_name,
  1,  common__block_data_hashing_structure__number_ranges,
  (ProtobufCMessageInit) common__block_data_hashing_structure__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__orderer_addresses__field_descriptors[1] =
{
  {
    "addresses",
    1,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_STRING,
    offsetof(Common__OrdererAddresses, n_addresses),
    offsetof(Common__OrdererAddresses, addresses),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__orderer_addresses__field_indices_by_name[] = {
  0,   /* field[0] = addresses */
};
static const ProtobufCIntRange common__orderer_addresses__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor common__orderer_addresses__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.OrdererAddresses",
  "OrdererAddresses",
  "Common__OrdererAddresses",
  "common",
  sizeof(Common__OrdererAddresses),
  1,
  common__orderer_addresses__field_descriptors,
  common__orderer_addresses__field_indices_by_name,
  1,  common__orderer_addresses__number_ranges,
  (ProtobufCMessageInit) common__orderer_addresses__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__consortium__field_descriptors[1] =
{
  {
    "name",
    1,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__Consortium, name),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__consortium__field_indices_by_name[] = {
  0,   /* field[0] = name */
};
static const ProtobufCIntRange common__consortium__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor common__consortium__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.Consortium",
  "Consortium",
  "Common__Consortium",
  "common",
  sizeof(Common__Consortium),
  1,
  common__consortium__field_descriptors,
  common__consortium__field_indices_by_name,
  1,  common__consortium__number_ranges,
  (ProtobufCMessageInit) common__consortium__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__capabilities__capabilities_entry__field_descriptors[2] =
{
  {
    "key",
    1,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__Capabilities__CapabilitiesEntry, key),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "value",
    2,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Common__Capabilities__CapabilitiesEntry, value),
    &common__capability__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__capabilities__capabilities_entry__field_indices_by_name[] = {
  0,   /* field[0] = key */
  1,   /* field[1] = value */
};
static const ProtobufCIntRange common__capabilities__capabilities_entry__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor common__capabilities__capabilities_entry__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.Capabilities.CapabilitiesEntry",
  "CapabilitiesEntry",
  "Common__Capabilities__CapabilitiesEntry",
  "common",
  sizeof(Common__Capabilities__CapabilitiesEntry),
  2,
  common__capabilities__capabilities_entry__field_descriptors,
  common__capabilities__capabilities_entry__field_indices_by_name,
  1,  common__capabilities__capabilities_entry__number_ranges,
  (ProtobufCMessageInit) common__capabilities__capabilities_entry__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__capabilities__field_descriptors[1] =
{
  {
    "capabilities",
    1,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Common__Capabilities, n_capabilities),
    offsetof(Common__Capabilities, capabilities),
    &common__capabilities__capabilities_entry__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__capabilities__field_indices_by_name[] = {
  0,   /* field[0] = capabilities */
};
static const ProtobufCIntRange common__capabilities__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor common__capabilities__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.Capabilities",
  "Capabilities",
  "Common__Capabilities",
  "common",
  sizeof(Common__Capabilities),
  1,
  common__capabilities__field_descriptors,
  common__capabilities__field_indices_by_name,
  1,  common__capabilities__number_ranges,
  (ProtobufCMessageInit) common__capabilities__init,
  NULL,NULL,NULL    /* reserved[123] */
};
#define common__capability__field_descriptors NULL
#define common__capability__field_indices_by_name NULL
#define common__capability__number_ranges NULL
const ProtobufCMessageDescriptor common__capability__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.Capability",
  "Capability",
  "Common__Capability",
  "common",
  sizeof(Common__Capability),
  0,
  common__capability__field_descriptors,
  common__capability__field_indices_by_name,
  0,  common__capability__number_ranges,
  (ProtobufCMessageInit) common__capability__init,
  NULL,NULL,NULL    /* reserved[123] */
};
