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

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

#include "request.pb-c.h"
void   common__tx_request__init
                     (Common__TxRequest         *message)
{
  static const Common__TxRequest init_value = COMMON__TX_REQUEST__INIT;
  *message = init_value;
}
size_t common__tx_request__get_packed_size
                     (const Common__TxRequest *message)
{
  assert(message->base.descriptor == &common__tx_request__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__tx_request__pack
                     (const Common__TxRequest *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__tx_request__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__tx_request__pack_to_buffer
                     (const Common__TxRequest *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__tx_request__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__TxRequest *
       common__tx_request__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__TxRequest *)
     protobuf_c_message_unpack (&common__tx_request__descriptor,
                                allocator, len, data);
}
void   common__tx_request__free_unpacked
                     (Common__TxRequest *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__tx_request__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__tx_header__init__chainmaker
                     (Common__TxHeader         *message)
{
  static const Common__TxHeader init_value = COMMON__TX_HEADER__INIT;
  *message = init_value;
}
size_t common__tx_header__get_packed_size__chainmaker
                     (const Common__TxHeader *message)
{
  assert(message->base.descriptor == &common__tx_header__descriptor__chainmaker);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__tx_header__pack__chainmaker
                     (const Common__TxHeader *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__tx_header__descriptor__chainmaker);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__tx_header__pack_to_buffer__chainmaker
                     (const Common__TxHeader *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__tx_header__descriptor__chainmaker);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__TxHeader *
       common__tx_header__unpack__chainmaker
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__TxHeader *)
     protobuf_c_message_unpack (&common__tx_header__descriptor__chainmaker,
                                allocator, len, data);
}
void   common__tx_header__free_unpacked__chainmaker
                     (Common__TxHeader *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__tx_header__descriptor__chainmaker);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__query_payload__init
                     (Common__QueryPayload         *message)
{
  static const Common__QueryPayload init_value = COMMON__QUERY_PAYLOAD__INIT;
  *message = init_value;
}
size_t common__query_payload__get_packed_size
                     (const Common__QueryPayload *message)
{
  assert(message->base.descriptor == &common__query_payload__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__query_payload__pack
                     (const Common__QueryPayload *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__query_payload__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__query_payload__pack_to_buffer
                     (const Common__QueryPayload *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__query_payload__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__QueryPayload *
       common__query_payload__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__QueryPayload *)
     protobuf_c_message_unpack (&common__query_payload__descriptor,
                                allocator, len, data);
}
void   common__query_payload__free_unpacked
                     (Common__QueryPayload *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__query_payload__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__transact_payload__init
                     (Common__TransactPayload         *message)
{
  static const Common__TransactPayload init_value = COMMON__TRANSACT_PAYLOAD__INIT;
  *message = init_value;
}
size_t common__transact_payload__get_packed_size
                     (const Common__TransactPayload *message)
{
  assert(message->base.descriptor == &common__transact_payload__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__transact_payload__pack
                     (const Common__TransactPayload *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__transact_payload__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__transact_payload__pack_to_buffer
                     (const Common__TransactPayload *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__transact_payload__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__TransactPayload *
       common__transact_payload__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__TransactPayload *)
     protobuf_c_message_unpack (&common__transact_payload__descriptor,
                                allocator, len, data);
}
void   common__transact_payload__free_unpacked
                     (Common__TransactPayload *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__transact_payload__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__system_contract_payload__init
                     (Common__SystemContractPayload         *message)
{
  static const Common__SystemContractPayload init_value = COMMON__SYSTEM_CONTRACT_PAYLOAD__INIT;
  *message = init_value;
}
size_t common__system_contract_payload__get_packed_size
                     (const Common__SystemContractPayload *message)
{
  assert(message->base.descriptor == &common__system_contract_payload__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__system_contract_payload__pack
                     (const Common__SystemContractPayload *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__system_contract_payload__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__system_contract_payload__pack_to_buffer
                     (const Common__SystemContractPayload *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__system_contract_payload__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__SystemContractPayload *
       common__system_contract_payload__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__SystemContractPayload *)
     protobuf_c_message_unpack (&common__system_contract_payload__descriptor,
                                allocator, len, data);
}
void   common__system_contract_payload__free_unpacked
                     (Common__SystemContractPayload *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__system_contract_payload__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__contract_mgmt_payload__init
                     (Common__ContractMgmtPayload         *message)
{
  static const Common__ContractMgmtPayload init_value = COMMON__CONTRACT_MGMT_PAYLOAD__INIT;
  *message = init_value;
}
size_t common__contract_mgmt_payload__get_packed_size
                     (const Common__ContractMgmtPayload *message)
{
  assert(message->base.descriptor == &common__contract_mgmt_payload__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__contract_mgmt_payload__pack
                     (const Common__ContractMgmtPayload *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__contract_mgmt_payload__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__contract_mgmt_payload__pack_to_buffer
                     (const Common__ContractMgmtPayload *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__contract_mgmt_payload__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__ContractMgmtPayload *
       common__contract_mgmt_payload__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__ContractMgmtPayload *)
     protobuf_c_message_unpack (&common__contract_mgmt_payload__descriptor,
                                allocator, len, data);
}
void   common__contract_mgmt_payload__free_unpacked
                     (Common__ContractMgmtPayload *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__contract_mgmt_payload__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__endorsement_entry__init
                     (Common__EndorsementEntry         *message)
{
  static const Common__EndorsementEntry init_value = COMMON__ENDORSEMENT_ENTRY__INIT;
  *message = init_value;
}
size_t common__endorsement_entry__get_packed_size
                     (const Common__EndorsementEntry *message)
{
  assert(message->base.descriptor == &common__endorsement_entry__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__endorsement_entry__pack
                     (const Common__EndorsementEntry *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__endorsement_entry__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__endorsement_entry__pack_to_buffer
                     (const Common__EndorsementEntry *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__endorsement_entry__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__EndorsementEntry *
       common__endorsement_entry__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__EndorsementEntry *)
     protobuf_c_message_unpack (&common__endorsement_entry__descriptor,
                                allocator, len, data);
}
void   common__endorsement_entry__free_unpacked
                     (Common__EndorsementEntry *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__endorsement_entry__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__key_value_pair__init
                     (Common__KeyValuePair         *message)
{
  static const Common__KeyValuePair init_value = COMMON__KEY_VALUE_PAIR__INIT;
  *message = init_value;
}
size_t common__key_value_pair__get_packed_size
                     (const Common__KeyValuePair *message)
{
  assert(message->base.descriptor == &common__key_value_pair__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__key_value_pair__pack
                     (const Common__KeyValuePair *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__key_value_pair__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__key_value_pair__pack_to_buffer
                     (const Common__KeyValuePair *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__key_value_pair__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__KeyValuePair *
       common__key_value_pair__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__KeyValuePair *)
     protobuf_c_message_unpack (&common__key_value_pair__descriptor,
                                allocator, len, data);
}
void   common__key_value_pair__free_unpacked
                     (Common__KeyValuePair *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__key_value_pair__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__subscribe_contract_event_payload__init
                     (Common__SubscribeContractEventPayload         *message)
{
  static const Common__SubscribeContractEventPayload init_value = COMMON__SUBSCRIBE_CONTRACT_EVENT_PAYLOAD__INIT;
  *message = init_value;
}
size_t common__subscribe_contract_event_payload__get_packed_size
                     (const Common__SubscribeContractEventPayload *message)
{
  assert(message->base.descriptor == &common__subscribe_contract_event_payload__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__subscribe_contract_event_payload__pack
                     (const Common__SubscribeContractEventPayload *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__subscribe_contract_event_payload__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__subscribe_contract_event_payload__pack_to_buffer
                     (const Common__SubscribeContractEventPayload *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__subscribe_contract_event_payload__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__SubscribeContractEventPayload *
       common__subscribe_contract_event_payload__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__SubscribeContractEventPayload *)
     protobuf_c_message_unpack (&common__subscribe_contract_event_payload__descriptor,
                                allocator, len, data);
}
void   common__subscribe_contract_event_payload__free_unpacked
                     (Common__SubscribeContractEventPayload *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__subscribe_contract_event_payload__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__subscribe_block_payload__init
                     (Common__SubscribeBlockPayload         *message)
{
  static const Common__SubscribeBlockPayload init_value = COMMON__SUBSCRIBE_BLOCK_PAYLOAD__INIT;
  *message = init_value;
}
size_t common__subscribe_block_payload__get_packed_size
                     (const Common__SubscribeBlockPayload *message)
{
  assert(message->base.descriptor == &common__subscribe_block_payload__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__subscribe_block_payload__pack
                     (const Common__SubscribeBlockPayload *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__subscribe_block_payload__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__subscribe_block_payload__pack_to_buffer
                     (const Common__SubscribeBlockPayload *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__subscribe_block_payload__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__SubscribeBlockPayload *
       common__subscribe_block_payload__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__SubscribeBlockPayload *)
     protobuf_c_message_unpack (&common__subscribe_block_payload__descriptor,
                                allocator, len, data);
}
void   common__subscribe_block_payload__free_unpacked
                     (Common__SubscribeBlockPayload *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__subscribe_block_payload__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__subscribe_tx_payload__init
                     (Common__SubscribeTxPayload         *message)
{
  static const Common__SubscribeTxPayload init_value = COMMON__SUBSCRIBE_TX_PAYLOAD__INIT;
  *message = init_value;
}
size_t common__subscribe_tx_payload__get_packed_size
                     (const Common__SubscribeTxPayload *message)
{
  assert(message->base.descriptor == &common__subscribe_tx_payload__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__subscribe_tx_payload__pack
                     (const Common__SubscribeTxPayload *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__subscribe_tx_payload__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__subscribe_tx_payload__pack_to_buffer
                     (const Common__SubscribeTxPayload *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__subscribe_tx_payload__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__SubscribeTxPayload *
       common__subscribe_tx_payload__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__SubscribeTxPayload *)
     protobuf_c_message_unpack (&common__subscribe_tx_payload__descriptor,
                                allocator, len, data);
}
void   common__subscribe_tx_payload__free_unpacked
                     (Common__SubscribeTxPayload *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__subscribe_tx_payload__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__archive_block_payload__init
                     (Common__ArchiveBlockPayload         *message)
{
  static const Common__ArchiveBlockPayload init_value = COMMON__ARCHIVE_BLOCK_PAYLOAD__INIT;
  *message = init_value;
}
size_t common__archive_block_payload__get_packed_size
                     (const Common__ArchiveBlockPayload *message)
{
  assert(message->base.descriptor == &common__archive_block_payload__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__archive_block_payload__pack
                     (const Common__ArchiveBlockPayload *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__archive_block_payload__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__archive_block_payload__pack_to_buffer
                     (const Common__ArchiveBlockPayload *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__archive_block_payload__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__ArchiveBlockPayload *
       common__archive_block_payload__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__ArchiveBlockPayload *)
     protobuf_c_message_unpack (&common__archive_block_payload__descriptor,
                                allocator, len, data);
}
void   common__archive_block_payload__free_unpacked
                     (Common__ArchiveBlockPayload *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__archive_block_payload__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   common__restore_block_payload__init
                     (Common__RestoreBlockPayload         *message)
{
  static const Common__RestoreBlockPayload init_value = COMMON__RESTORE_BLOCK_PAYLOAD__INIT;
  *message = init_value;
}
size_t common__restore_block_payload__get_packed_size
                     (const Common__RestoreBlockPayload *message)
{
  assert(message->base.descriptor == &common__restore_block_payload__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t common__restore_block_payload__pack
                     (const Common__RestoreBlockPayload *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &common__restore_block_payload__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t common__restore_block_payload__pack_to_buffer
                     (const Common__RestoreBlockPayload *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &common__restore_block_payload__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Common__RestoreBlockPayload *
       common__restore_block_payload__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Common__RestoreBlockPayload *)
     protobuf_c_message_unpack (&common__restore_block_payload__descriptor,
                                allocator, len, data);
}
void   common__restore_block_payload__free_unpacked
                     (Common__RestoreBlockPayload *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &common__restore_block_payload__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor common__tx_request__field_descriptors[3] =
{
  {
    "header",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Common__TxRequest, header),
    &common__tx_header__descriptor__chainmaker,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "payload",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BYTES,
    0,   /* quantifier_offset */
    offsetof(Common__TxRequest, payload),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "signature",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BYTES,
    0,   /* quantifier_offset */
    offsetof(Common__TxRequest, signature),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__tx_request__field_indices_by_name[] = {
  0,   /* field[0] = header */
  1,   /* field[1] = payload */
  2,   /* field[2] = signature */
};
static const ProtobufCIntRange common__tx_request__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 3 }
};
const ProtobufCMessageDescriptor common__tx_request__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.TxRequest",
  "TxRequest",
  "Common__TxRequest",
  "common",
  sizeof(Common__TxRequest),
  3,
  common__tx_request__field_descriptors,
  common__tx_request__field_indices_by_name,
  1,  common__tx_request__number_ranges,
  (ProtobufCMessageInit) common__tx_request__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__tx_header__field_descriptors[6] =
{
  {
    "chain_id",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__TxHeader, chain_id),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "sender",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Common__TxHeader, sender),
    &accesscontrol__serialized_member__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "tx_type",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_ENUM,
    0,   /* quantifier_offset */
    offsetof(Common__TxHeader, tx_type),
    &common__tx_type__descriptor__chainmaker,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "tx_id",
    4,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__TxHeader, tx_id),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "timestamp",
    5,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT64,
    0,   /* quantifier_offset */
    offsetof(Common__TxHeader, timestamp),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "expiration_time",
    6,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT64,
    0,   /* quantifier_offset */
    offsetof(Common__TxHeader, expiration_time),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__tx_header__field_indices_by_name[] = {
  0,   /* field[0] = chain_id */
  5,   /* field[5] = expiration_time */
  1,   /* field[1] = sender */
  4,   /* field[4] = timestamp */
  3,   /* field[3] = tx_id */
  2,   /* field[2] = tx_type */
};
static const ProtobufCIntRange common__tx_header__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 6 }
};
const ProtobufCMessageDescriptor common__tx_header__descriptor__chainmaker =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.TxHeader",
  "TxHeader",
  "Common__TxHeader",
  "common",
  sizeof(Common__TxHeader),
  6,
  common__tx_header__field_descriptors,
  common__tx_header__field_indices_by_name,
  1,  common__tx_header__number_ranges,
  (ProtobufCMessageInit) common__tx_header__init__chainmaker,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__query_payload__field_descriptors[3] =
{
  {
    "contract_name",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__QueryPayload, contract_name),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "method",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__QueryPayload, method),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "parameters",
    3,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Common__QueryPayload, n_parameters),
    offsetof(Common__QueryPayload, parameters),
    &common__key_value_pair__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__query_payload__field_indices_by_name[] = {
  0,   /* field[0] = contract_name */
  1,   /* field[1] = method */
  2,   /* field[2] = parameters */
};
static const ProtobufCIntRange common__query_payload__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 3 }
};
const ProtobufCMessageDescriptor common__query_payload__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.QueryPayload",
  "QueryPayload",
  "Common__QueryPayload",
  "common",
  sizeof(Common__QueryPayload),
  3,
  common__query_payload__field_descriptors,
  common__query_payload__field_indices_by_name,
  1,  common__query_payload__number_ranges,
  (ProtobufCMessageInit) common__query_payload__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__transact_payload__field_descriptors[3] =
{
  {
    "contract_name",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__TransactPayload, contract_name),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "method",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__TransactPayload, method),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "parameters",
    3,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Common__TransactPayload, n_parameters),
    offsetof(Common__TransactPayload, parameters),
    &common__key_value_pair__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__transact_payload__field_indices_by_name[] = {
  0,   /* field[0] = contract_name */
  1,   /* field[1] = method */
  2,   /* field[2] = parameters */
};
static const ProtobufCIntRange common__transact_payload__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 3 }
};
const ProtobufCMessageDescriptor common__transact_payload__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.TransactPayload",
  "TransactPayload",
  "Common__TransactPayload",
  "common",
  sizeof(Common__TransactPayload),
  3,
  common__transact_payload__field_descriptors,
  common__transact_payload__field_indices_by_name,
  1,  common__transact_payload__number_ranges,
  (ProtobufCMessageInit) common__transact_payload__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__system_contract_payload__field_descriptors[6] =
{
  {
    "chain_id",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__SystemContractPayload, chain_id),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "contract_name",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__SystemContractPayload, contract_name),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "method",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__SystemContractPayload, method),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "parameters",
    4,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Common__SystemContractPayload, n_parameters),
    offsetof(Common__SystemContractPayload, parameters),
    &common__key_value_pair__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "sequence",
    5,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT64,
    0,   /* quantifier_offset */
    offsetof(Common__SystemContractPayload, sequence),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "endorsement",
    6,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Common__SystemContractPayload, n_endorsement),
    offsetof(Common__SystemContractPayload, endorsement),
    &common__endorsement_entry__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__system_contract_payload__field_indices_by_name[] = {
  0,   /* field[0] = chain_id */
  1,   /* field[1] = contract_name */
  5,   /* field[5] = endorsement */
  2,   /* field[2] = method */
  3,   /* field[3] = parameters */
  4,   /* field[4] = sequence */
};
static const ProtobufCIntRange common__system_contract_payload__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 6 }
};
const ProtobufCMessageDescriptor common__system_contract_payload__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.SystemContractPayload",
  "SystemContractPayload",
  "Common__SystemContractPayload",
  "common",
  sizeof(Common__SystemContractPayload),
  6,
  common__system_contract_payload__field_descriptors,
  common__system_contract_payload__field_indices_by_name,
  1,  common__system_contract_payload__number_ranges,
  (ProtobufCMessageInit) common__system_contract_payload__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__contract_mgmt_payload__field_descriptors[6] =
{
  {
    "chain_id",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__ContractMgmtPayload, chain_id),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "contract_id",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Common__ContractMgmtPayload, contract_id),
    &common__contract_id__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "method",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__ContractMgmtPayload, method),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "parameters",
    4,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Common__ContractMgmtPayload, n_parameters),
    offsetof(Common__ContractMgmtPayload, parameters),
    &common__key_value_pair__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "byte_code",
    5,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BYTES,
    0,   /* quantifier_offset */
    offsetof(Common__ContractMgmtPayload, byte_code),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "endorsement",
    6,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Common__ContractMgmtPayload, n_endorsement),
    offsetof(Common__ContractMgmtPayload, endorsement),
    &common__endorsement_entry__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__contract_mgmt_payload__field_indices_by_name[] = {
  4,   /* field[4] = byte_code */
  0,   /* field[0] = chain_id */
  1,   /* field[1] = contract_id */
  5,   /* field[5] = endorsement */
  2,   /* field[2] = method */
  3,   /* field[3] = parameters */
};
static const ProtobufCIntRange common__contract_mgmt_payload__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 6 }
};
const ProtobufCMessageDescriptor common__contract_mgmt_payload__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.ContractMgmtPayload",
  "ContractMgmtPayload",
  "Common__ContractMgmtPayload",
  "common",
  sizeof(Common__ContractMgmtPayload),
  6,
  common__contract_mgmt_payload__field_descriptors,
  common__contract_mgmt_payload__field_indices_by_name,
  1,  common__contract_mgmt_payload__number_ranges,
  (ProtobufCMessageInit) common__contract_mgmt_payload__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__endorsement_entry__field_descriptors[2] =
{
  {
    "signer",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Common__EndorsementEntry, signer),
    &accesscontrol__serialized_member__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "signature",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BYTES,
    0,   /* quantifier_offset */
    offsetof(Common__EndorsementEntry, signature),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__endorsement_entry__field_indices_by_name[] = {
  1,   /* field[1] = signature */
  0,   /* field[0] = signer */
};
static const ProtobufCIntRange common__endorsement_entry__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor common__endorsement_entry__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.EndorsementEntry",
  "EndorsementEntry",
  "Common__EndorsementEntry",
  "common",
  sizeof(Common__EndorsementEntry),
  2,
  common__endorsement_entry__field_descriptors,
  common__endorsement_entry__field_indices_by_name,
  1,  common__endorsement_entry__number_ranges,
  (ProtobufCMessageInit) common__endorsement_entry__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__key_value_pair__field_descriptors[2] =
{
  {
    "key",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__KeyValuePair, key),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "value",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__KeyValuePair, value),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__key_value_pair__field_indices_by_name[] = {
  0,   /* field[0] = key */
  1,   /* field[1] = value */
};
static const ProtobufCIntRange common__key_value_pair__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor common__key_value_pair__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.KeyValuePair",
  "KeyValuePair",
  "Common__KeyValuePair",
  "common",
  sizeof(Common__KeyValuePair),
  2,
  common__key_value_pair__field_descriptors,
  common__key_value_pair__field_indices_by_name,
  1,  common__key_value_pair__number_ranges,
  (ProtobufCMessageInit) common__key_value_pair__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__subscribe_contract_event_payload__field_descriptors[2] =
{
  {
    "topic",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__SubscribeContractEventPayload, topic),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "contractName",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Common__SubscribeContractEventPayload, contractname),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__subscribe_contract_event_payload__field_indices_by_name[] = {
  1,   /* field[1] = contractName */
  0,   /* field[0] = topic */
};
static const ProtobufCIntRange common__subscribe_contract_event_payload__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor common__subscribe_contract_event_payload__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.SubscribeContractEventPayload",
  "SubscribeContractEventPayload",
  "Common__SubscribeContractEventPayload",
  "common",
  sizeof(Common__SubscribeContractEventPayload),
  2,
  common__subscribe_contract_event_payload__field_descriptors,
  common__subscribe_contract_event_payload__field_indices_by_name,
  1,  common__subscribe_contract_event_payload__number_ranges,
  (ProtobufCMessageInit) common__subscribe_contract_event_payload__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__subscribe_block_payload__field_descriptors[3] =
{
  {
    "start_block",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT64,
    0,   /* quantifier_offset */
    offsetof(Common__SubscribeBlockPayload, start_block),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "end_block",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT64,
    0,   /* quantifier_offset */
    offsetof(Common__SubscribeBlockPayload, end_block),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "with_rw_set",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BOOL,
    0,   /* quantifier_offset */
    offsetof(Common__SubscribeBlockPayload, with_rw_set),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__subscribe_block_payload__field_indices_by_name[] = {
  1,   /* field[1] = end_block */
  0,   /* field[0] = start_block */
  2,   /* field[2] = with_rw_set */
};
static const ProtobufCIntRange common__subscribe_block_payload__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 3 }
};
const ProtobufCMessageDescriptor common__subscribe_block_payload__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.SubscribeBlockPayload",
  "SubscribeBlockPayload",
  "Common__SubscribeBlockPayload",
  "common",
  sizeof(Common__SubscribeBlockPayload),
  3,
  common__subscribe_block_payload__field_descriptors,
  common__subscribe_block_payload__field_indices_by_name,
  1,  common__subscribe_block_payload__number_ranges,
  (ProtobufCMessageInit) common__subscribe_block_payload__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__subscribe_tx_payload__field_descriptors[4] =
{
  {
    "start_block",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT64,
    0,   /* quantifier_offset */
    offsetof(Common__SubscribeTxPayload, start_block),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "end_block",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT64,
    0,   /* quantifier_offset */
    offsetof(Common__SubscribeTxPayload, end_block),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "tx_type",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_ENUM,
    0,   /* quantifier_offset */
    offsetof(Common__SubscribeTxPayload, tx_type),
    &common__tx_type__descriptor__chainmaker,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "tx_ids",
    4,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_STRING,
    offsetof(Common__SubscribeTxPayload, n_tx_ids),
    offsetof(Common__SubscribeTxPayload, tx_ids),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__subscribe_tx_payload__field_indices_by_name[] = {
  1,   /* field[1] = end_block */
  0,   /* field[0] = start_block */
  3,   /* field[3] = tx_ids */
  2,   /* field[2] = tx_type */
};
static const ProtobufCIntRange common__subscribe_tx_payload__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 4 }
};
const ProtobufCMessageDescriptor common__subscribe_tx_payload__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.SubscribeTxPayload",
  "SubscribeTxPayload",
  "Common__SubscribeTxPayload",
  "common",
  sizeof(Common__SubscribeTxPayload),
  4,
  common__subscribe_tx_payload__field_descriptors,
  common__subscribe_tx_payload__field_indices_by_name,
  1,  common__subscribe_tx_payload__number_ranges,
  (ProtobufCMessageInit) common__subscribe_tx_payload__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__archive_block_payload__field_descriptors[1] =
{
  {
    "block_height",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT64,
    0,   /* quantifier_offset */
    offsetof(Common__ArchiveBlockPayload, block_height),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__archive_block_payload__field_indices_by_name[] = {
  0,   /* field[0] = block_height */
};
static const ProtobufCIntRange common__archive_block_payload__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor common__archive_block_payload__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.ArchiveBlockPayload",
  "ArchiveBlockPayload",
  "Common__ArchiveBlockPayload",
  "common",
  sizeof(Common__ArchiveBlockPayload),
  1,
  common__archive_block_payload__field_descriptors,
  common__archive_block_payload__field_indices_by_name,
  1,  common__archive_block_payload__number_ranges,
  (ProtobufCMessageInit) common__archive_block_payload__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor common__restore_block_payload__field_descriptors[1] =
{
  {
    "full_block",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BYTES,
    0,   /* quantifier_offset */
    offsetof(Common__RestoreBlockPayload, full_block),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned common__restore_block_payload__field_indices_by_name[] = {
  0,   /* field[0] = full_block */
};
static const ProtobufCIntRange common__restore_block_payload__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor common__restore_block_payload__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "common.RestoreBlockPayload",
  "RestoreBlockPayload",
  "Common__RestoreBlockPayload",
  "common",
  sizeof(Common__RestoreBlockPayload),
  1,
  common__restore_block_payload__field_descriptors,
  common__restore_block_payload__field_indices_by_name,
  1,  common__restore_block_payload__number_ranges,
  (ProtobufCMessageInit) common__restore_block_payload__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCEnumValue common__tx_type__enum_values_by_number[11] =
{
  { "INVOKE_USER_CONTRACT", "COMMON__TX_TYPE__INVOKE_USER_CONTRACT", 0 },
  { "QUERY_USER_CONTRACT", "COMMON__TX_TYPE__QUERY_USER_CONTRACT", 1 },
  { "MANAGE_USER_CONTRACT", "COMMON__TX_TYPE__MANAGE_USER_CONTRACT", 2 },
  { "QUERY_SYSTEM_CONTRACT", "COMMON__TX_TYPE__QUERY_SYSTEM_CONTRACT", 3 },
  { "UPDATE_CHAIN_CONFIG", "COMMON__TX_TYPE__UPDATE_CHAIN_CONFIG", 4 },
  { "SUBSCRIBE_BLOCK_INFO", "COMMON__TX_TYPE__SUBSCRIBE_BLOCK_INFO", 5 },
  { "SUBSCRIBE_TX_INFO", "COMMON__TX_TYPE__SUBSCRIBE_TX_INFO", 6 },
  { "INVOKE_SYSTEM_CONTRACT", "COMMON__TX_TYPE__INVOKE_SYSTEM_CONTRACT", 7 },
  { "SUBSCRIBE_CONTRACT_EVENT_INFO", "COMMON__TX_TYPE__SUBSCRIBE_CONTRACT_EVENT_INFO", 8 },
  { "ARCHIVE_FULL_BLOCK", "COMMON__TX_TYPE__ARCHIVE_FULL_BLOCK", 9 },
  { "RESTORE_FULL_BLOCK", "COMMON__TX_TYPE__RESTORE_FULL_BLOCK", 10 },
};
static const ProtobufCIntRange common__tx_type__value_ranges[] = {
{0, 0},{0, 11}
};
static const ProtobufCEnumValueIndex common__tx_type__enum_values_by_name[11] =
{
  { "ARCHIVE_FULL_BLOCK", 9 },
  { "INVOKE_SYSTEM_CONTRACT", 7 },
  { "INVOKE_USER_CONTRACT", 0 },
  { "MANAGE_USER_CONTRACT", 2 },
  { "QUERY_SYSTEM_CONTRACT", 3 },
  { "QUERY_USER_CONTRACT", 1 },
  { "RESTORE_FULL_BLOCK", 10 },
  { "SUBSCRIBE_BLOCK_INFO", 5 },
  { "SUBSCRIBE_CONTRACT_EVENT_INFO", 8 },
  { "SUBSCRIBE_TX_INFO", 6 },
  { "UPDATE_CHAIN_CONFIG", 4 },
};
const ProtobufCEnumDescriptor common__tx_type__descriptor__chainmaker =
{
  PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  "common.TxType",
  "TxType",
  "Common__TxType",
  "common",
  11,
  common__tx_type__enum_values_by_number,
  11,
  common__tx_type__enum_values_by_name,
  1,
  common__tx_type__value_ranges,
  NULL,NULL,NULL,NULL   /* reserved[1234] */
};
