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

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

#include "peer/configuration.pb-c.h"
void   protos__anchor_peers__init
                     (Protos__AnchorPeers         *message)
{
  static Protos__AnchorPeers init_value = PROTOS__ANCHOR_PEERS__INIT;
  *message = init_value;
}
size_t protos__anchor_peers__get_packed_size
                     (const Protos__AnchorPeers *message)
{
  assert(message->base.descriptor == &protos__anchor_peers__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t protos__anchor_peers__pack
                     (const Protos__AnchorPeers *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &protos__anchor_peers__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t protos__anchor_peers__pack_to_buffer
                     (const Protos__AnchorPeers *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &protos__anchor_peers__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Protos__AnchorPeers *
       protos__anchor_peers__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Protos__AnchorPeers *)
     protobuf_c_message_unpack (&protos__anchor_peers__descriptor,
                                allocator, len, data);
}
void   protos__anchor_peers__free_unpacked
                     (Protos__AnchorPeers *message,
                      ProtobufCAllocator *allocator)
{
  assert(message->base.descriptor == &protos__anchor_peers__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   protos__anchor_peer__init
                     (Protos__AnchorPeer         *message)
{
  static Protos__AnchorPeer init_value = PROTOS__ANCHOR_PEER__INIT;
  *message = init_value;
}
size_t protos__anchor_peer__get_packed_size
                     (const Protos__AnchorPeer *message)
{
  assert(message->base.descriptor == &protos__anchor_peer__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t protos__anchor_peer__pack
                     (const Protos__AnchorPeer *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &protos__anchor_peer__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t protos__anchor_peer__pack_to_buffer
                     (const Protos__AnchorPeer *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &protos__anchor_peer__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Protos__AnchorPeer *
       protos__anchor_peer__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Protos__AnchorPeer *)
     protobuf_c_message_unpack (&protos__anchor_peer__descriptor,
                                allocator, len, data);
}
void   protos__anchor_peer__free_unpacked
                     (Protos__AnchorPeer *message,
                      ProtobufCAllocator *allocator)
{
  assert(message->base.descriptor == &protos__anchor_peer__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   protos__apiresource__init
                     (Protos__APIResource         *message)
{
  static Protos__APIResource init_value = PROTOS__APIRESOURCE__INIT;
  *message = init_value;
}
size_t protos__apiresource__get_packed_size
                     (const Protos__APIResource *message)
{
  assert(message->base.descriptor == &protos__apiresource__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t protos__apiresource__pack
                     (const Protos__APIResource *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &protos__apiresource__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t protos__apiresource__pack_to_buffer
                     (const Protos__APIResource *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &protos__apiresource__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Protos__APIResource *
       protos__apiresource__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Protos__APIResource *)
     protobuf_c_message_unpack (&protos__apiresource__descriptor,
                                allocator, len, data);
}
void   protos__apiresource__free_unpacked
                     (Protos__APIResource *message,
                      ProtobufCAllocator *allocator)
{
  assert(message->base.descriptor == &protos__apiresource__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   protos__acls__acls_entry__init
                     (Protos__ACLs__AclsEntry         *message)
{
  static Protos__ACLs__AclsEntry init_value = PROTOS__ACLS__ACLS_ENTRY__INIT;
  *message = init_value;
}
void   protos__acls__init
                     (Protos__ACLs         *message)
{
  static Protos__ACLs init_value = PROTOS__ACLS__INIT;
  *message = init_value;
}
size_t protos__acls__get_packed_size
                     (const Protos__ACLs *message)
{
  assert(message->base.descriptor == &protos__acls__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t protos__acls__pack
                     (const Protos__ACLs *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &protos__acls__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t protos__acls__pack_to_buffer
                     (const Protos__ACLs *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &protos__acls__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Protos__ACLs *
       protos__acls__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Protos__ACLs *)
     protobuf_c_message_unpack (&protos__acls__descriptor,
                                allocator, len, data);
}
void   protos__acls__free_unpacked
                     (Protos__ACLs *message,
                      ProtobufCAllocator *allocator)
{
  assert(message->base.descriptor == &protos__acls__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor protos__anchor_peers__field_descriptors[1] =
{
  {
    "anchor_peers",
    1,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Protos__AnchorPeers, n_anchor_peers),
    offsetof(Protos__AnchorPeers, anchor_peers),
    &protos__anchor_peer__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned protos__anchor_peers__field_indices_by_name[] = {
  0,   /* field[0] = anchor_peers */
};
static const ProtobufCIntRange protos__anchor_peers__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor protos__anchor_peers__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "protos.AnchorPeers",
  "AnchorPeers",
  "Protos__AnchorPeers",
  "protos",
  sizeof(Protos__AnchorPeers),
  1,
  protos__anchor_peers__field_descriptors,
  protos__anchor_peers__field_indices_by_name,
  1,  protos__anchor_peers__number_ranges,
  (ProtobufCMessageInit) protos__anchor_peers__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor protos__anchor_peer__field_descriptors[2] =
{
  {
    "host",
    1,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Protos__AnchorPeer, host),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "port",
    2,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_INT32,
    offsetof(Protos__AnchorPeer, has_port),
    offsetof(Protos__AnchorPeer, port),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned protos__anchor_peer__field_indices_by_name[] = {
  0,   /* field[0] = host */
  1,   /* field[1] = port */
};
static const ProtobufCIntRange protos__anchor_peer__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor protos__anchor_peer__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "protos.AnchorPeer",
  "AnchorPeer",
  "Protos__AnchorPeer",
  "protos",
  sizeof(Protos__AnchorPeer),
  2,
  protos__anchor_peer__field_descriptors,
  protos__anchor_peer__field_indices_by_name,
  1,  protos__anchor_peer__number_ranges,
  (ProtobufCMessageInit) protos__anchor_peer__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor protos__apiresource__field_descriptors[1] =
{
  {
    "policy_ref",
    1,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Protos__APIResource, policy_ref),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned protos__apiresource__field_indices_by_name[] = {
  0,   /* field[0] = policy_ref */
};
static const ProtobufCIntRange protos__apiresource__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor protos__apiresource__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "protos.APIResource",
  "APIResource",
  "Protos__APIResource",
  "protos",
  sizeof(Protos__APIResource),
  1,
  protos__apiresource__field_descriptors,
  protos__apiresource__field_indices_by_name,
  1,  protos__apiresource__number_ranges,
  (ProtobufCMessageInit) protos__apiresource__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor protos__acls__acls_entry__field_descriptors[2] =
{
  {
    "key",
    1,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Protos__ACLs__AclsEntry, 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(Protos__ACLs__AclsEntry, value),
    &protos__apiresource__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned protos__acls__acls_entry__field_indices_by_name[] = {
  0,   /* field[0] = key */
  1,   /* field[1] = value */
};
static const ProtobufCIntRange protos__acls__acls_entry__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor protos__acls__acls_entry__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "protos.ACLs.AclsEntry",
  "AclsEntry",
  "Protos__ACLs__AclsEntry",
  "protos",
  sizeof(Protos__ACLs__AclsEntry),
  2,
  protos__acls__acls_entry__field_descriptors,
  protos__acls__acls_entry__field_indices_by_name,
  1,  protos__acls__acls_entry__number_ranges,
  (ProtobufCMessageInit) protos__acls__acls_entry__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor protos__acls__field_descriptors[1] =
{
  {
    "acls",
    1,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Protos__ACLs, n_acls),
    offsetof(Protos__ACLs, acls),
    &protos__acls__acls_entry__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned protos__acls__field_indices_by_name[] = {
  0,   /* field[0] = acls */
};
static const ProtobufCIntRange protos__acls__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor protos__acls__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "protos.ACLs",
  "ACLs",
  "Protos__ACLs",
  "protos",
  sizeof(Protos__ACLs),
  1,
  protos__acls__field_descriptors,
  protos__acls__field_indices_by_name,
  1,  protos__acls__number_ranges,
  (ProtobufCMessageInit) protos__acls__init,
  NULL,NULL,NULL    /* reserved[123] */
};
