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

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

#include "transientstore/transientstore.pb-c.h"
void   transientstore__tx_pvt_read_write_set_with_config_info__collection_configs_entry__init
                     (Transientstore__TxPvtReadWriteSetWithConfigInfo__CollectionConfigsEntry         *message)
{
  static Transientstore__TxPvtReadWriteSetWithConfigInfo__CollectionConfigsEntry init_value = TRANSIENTSTORE__TX_PVT_READ_WRITE_SET_WITH_CONFIG_INFO__COLLECTION_CONFIGS_ENTRY__INIT;
  *message = init_value;
}
void   transientstore__tx_pvt_read_write_set_with_config_info__init
                     (Transientstore__TxPvtReadWriteSetWithConfigInfo         *message)
{
  static Transientstore__TxPvtReadWriteSetWithConfigInfo init_value = TRANSIENTSTORE__TX_PVT_READ_WRITE_SET_WITH_CONFIG_INFO__INIT;
  *message = init_value;
}
size_t transientstore__tx_pvt_read_write_set_with_config_info__get_packed_size
                     (const Transientstore__TxPvtReadWriteSetWithConfigInfo *message)
{
  assert(message->base.descriptor == &transientstore__tx_pvt_read_write_set_with_config_info__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t transientstore__tx_pvt_read_write_set_with_config_info__pack
                     (const Transientstore__TxPvtReadWriteSetWithConfigInfo *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &transientstore__tx_pvt_read_write_set_with_config_info__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t transientstore__tx_pvt_read_write_set_with_config_info__pack_to_buffer
                     (const Transientstore__TxPvtReadWriteSetWithConfigInfo *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &transientstore__tx_pvt_read_write_set_with_config_info__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Transientstore__TxPvtReadWriteSetWithConfigInfo *
       transientstore__tx_pvt_read_write_set_with_config_info__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Transientstore__TxPvtReadWriteSetWithConfigInfo *)
     protobuf_c_message_unpack (&transientstore__tx_pvt_read_write_set_with_config_info__descriptor,
                                allocator, len, data);
}
void   transientstore__tx_pvt_read_write_set_with_config_info__free_unpacked
                     (Transientstore__TxPvtReadWriteSetWithConfigInfo *message,
                      ProtobufCAllocator *allocator)
{
  assert(message->base.descriptor == &transientstore__tx_pvt_read_write_set_with_config_info__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor transientstore__tx_pvt_read_write_set_with_config_info__collection_configs_entry__field_descriptors[2] =
{
  {
    "key",
    1,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Transientstore__TxPvtReadWriteSetWithConfigInfo__CollectionConfigsEntry, 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(Transientstore__TxPvtReadWriteSetWithConfigInfo__CollectionConfigsEntry, value),
    &common__collection_config_package__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned transientstore__tx_pvt_read_write_set_with_config_info__collection_configs_entry__field_indices_by_name[] = {
  0,   /* field[0] = key */
  1,   /* field[1] = value */
};
static const ProtobufCIntRange transientstore__tx_pvt_read_write_set_with_config_info__collection_configs_entry__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor transientstore__tx_pvt_read_write_set_with_config_info__collection_configs_entry__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "transientstore.TxPvtReadWriteSetWithConfigInfo.CollectionConfigsEntry",
  "CollectionConfigsEntry",
  "Transientstore__TxPvtReadWriteSetWithConfigInfo__CollectionConfigsEntry",
  "transientstore",
  sizeof(Transientstore__TxPvtReadWriteSetWithConfigInfo__CollectionConfigsEntry),
  2,
  transientstore__tx_pvt_read_write_set_with_config_info__collection_configs_entry__field_descriptors,
  transientstore__tx_pvt_read_write_set_with_config_info__collection_configs_entry__field_indices_by_name,
  1,  transientstore__tx_pvt_read_write_set_with_config_info__collection_configs_entry__number_ranges,
  (ProtobufCMessageInit) transientstore__tx_pvt_read_write_set_with_config_info__collection_configs_entry__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor transientstore__tx_pvt_read_write_set_with_config_info__field_descriptors[3] =
{
  {
    "endorsed_at",
    1,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT64,
    offsetof(Transientstore__TxPvtReadWriteSetWithConfigInfo, has_endorsed_at),
    offsetof(Transientstore__TxPvtReadWriteSetWithConfigInfo, endorsed_at),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "pvt_rwset",
    2,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Transientstore__TxPvtReadWriteSetWithConfigInfo, pvt_rwset),
    &rwset__tx_pvt_read_write_set__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "collection_configs",
    3,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Transientstore__TxPvtReadWriteSetWithConfigInfo, n_collection_configs),
    offsetof(Transientstore__TxPvtReadWriteSetWithConfigInfo, collection_configs),
    &transientstore__tx_pvt_read_write_set_with_config_info__collection_configs_entry__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned transientstore__tx_pvt_read_write_set_with_config_info__field_indices_by_name[] = {
  2,   /* field[2] = collection_configs */
  0,   /* field[0] = endorsed_at */
  1,   /* field[1] = pvt_rwset */
};
static const ProtobufCIntRange transientstore__tx_pvt_read_write_set_with_config_info__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 3 }
};
const ProtobufCMessageDescriptor transientstore__tx_pvt_read_write_set_with_config_info__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "transientstore.TxPvtReadWriteSetWithConfigInfo",
  "TxPvtReadWriteSetWithConfigInfo",
  "Transientstore__TxPvtReadWriteSetWithConfigInfo",
  "transientstore",
  sizeof(Transientstore__TxPvtReadWriteSetWithConfigInfo),
  3,
  transientstore__tx_pvt_read_write_set_with_config_info__field_descriptors,
  transientstore__tx_pvt_read_write_set_with_config_info__field_indices_by_name,
  1,  transientstore__tx_pvt_read_write_set_with_config_info__number_ranges,
  (ProtobufCMessageInit) transientstore__tx_pvt_read_write_set_with_config_info__init,
  NULL,NULL,NULL    /* reserved[123] */
};
