/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.9 */

#ifndef PB_READGROUP_V1_READGROUP_V1_READGROUP_PB_H_INCLUDED
#define PB_READGROUP_V1_READGROUP_V1_READGROUP_PB_H_INCLUDED
#include <pb.h>
#include "google/protobuf/timestamp.pb.h"

#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif

/* Struct definitions */
typedef struct _readgroup_v1_ReadGroup {
    pb_callback_t id;
    /* reader */
    uint32_t reader_id;
    pb_callback_t reader_name;
    pb_callback_t epc;
    bool has_first_seen;
    google_protobuf_Timestamp first_seen;
    pb_callback_t name;
    int32_t peak_rssi;
    uint64_t count;
    pb_callback_t reader_label;
    bool has_last_seen;
    google_protobuf_Timestamp last_seen;
    /* location */
    pb_callback_t location;
    pb_callback_t antennas;
    double avg_rssi;
    pb_callback_t signals;
    bool reader_inbound;
    bool reader_outbound;
    double skew;
    double kurt;
    pb_callback_t group_id;
} readgroup_v1_ReadGroup;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define readgroup_v1_ReadGroup_init_default      {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, false, google_protobuf_Timestamp_init_default, {{NULL}, NULL}, 0, 0, {{NULL}, NULL}, false, google_protobuf_Timestamp_init_default, {{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, 0, 0, 0, 0, {{NULL}, NULL}}
#define readgroup_v1_ReadGroup_init_zero         {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, false, google_protobuf_Timestamp_init_zero, {{NULL}, NULL}, 0, 0, {{NULL}, NULL}, false, google_protobuf_Timestamp_init_zero, {{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, 0, 0, 0, 0, {{NULL}, NULL}}

/* Field tags (for use in manual encoding/decoding) */
#define readgroup_v1_ReadGroup_id_tag            1
#define readgroup_v1_ReadGroup_reader_id_tag     2
#define readgroup_v1_ReadGroup_reader_name_tag   3
#define readgroup_v1_ReadGroup_epc_tag           4
#define readgroup_v1_ReadGroup_first_seen_tag    5
#define readgroup_v1_ReadGroup_name_tag          6
#define readgroup_v1_ReadGroup_peak_rssi_tag     7
#define readgroup_v1_ReadGroup_count_tag         8
#define readgroup_v1_ReadGroup_reader_label_tag  9
#define readgroup_v1_ReadGroup_last_seen_tag     10
#define readgroup_v1_ReadGroup_location_tag      11
#define readgroup_v1_ReadGroup_antennas_tag      12
#define readgroup_v1_ReadGroup_avg_rssi_tag      13
#define readgroup_v1_ReadGroup_signals_tag       14
#define readgroup_v1_ReadGroup_reader_inbound_tag 15
#define readgroup_v1_ReadGroup_reader_outbound_tag 16
#define readgroup_v1_ReadGroup_skew_tag          17
#define readgroup_v1_ReadGroup_kurt_tag          18
#define readgroup_v1_ReadGroup_group_id_tag      19

/* Struct field encoding specification for nanopb */
#define readgroup_v1_ReadGroup_FIELDLIST(X, a) \
X(a, CALLBACK, SINGULAR, STRING,   id,                1) \
X(a, STATIC,   SINGULAR, UINT32,   reader_id,         2) \
X(a, CALLBACK, SINGULAR, STRING,   reader_name,       3) \
X(a, CALLBACK, SINGULAR, STRING,   epc,               4) \
X(a, STATIC,   OPTIONAL, MESSAGE,  first_seen,        5) \
X(a, CALLBACK, OPTIONAL, STRING,   name,              6) \
X(a, STATIC,   SINGULAR, SINT32,   peak_rssi,         7) \
X(a, STATIC,   SINGULAR, UINT64,   count,             8) \
X(a, CALLBACK, OPTIONAL, STRING,   reader_label,      9) \
X(a, STATIC,   OPTIONAL, MESSAGE,  last_seen,        10) \
X(a, CALLBACK, OPTIONAL, STRING,   location,         11) \
X(a, CALLBACK, REPEATED, UINT32,   antennas,         12) \
X(a, STATIC,   SINGULAR, DOUBLE,   avg_rssi,         13) \
X(a, CALLBACK, REPEATED, UINT32,   signals,          14) \
X(a, STATIC,   SINGULAR, BOOL,     reader_inbound,   15) \
X(a, STATIC,   SINGULAR, BOOL,     reader_outbound,  16) \
X(a, STATIC,   SINGULAR, DOUBLE,   skew,             17) \
X(a, STATIC,   SINGULAR, DOUBLE,   kurt,             18) \
X(a, CALLBACK, SINGULAR, STRING,   group_id,         19)
#define readgroup_v1_ReadGroup_CALLBACK pb_default_field_callback
#define readgroup_v1_ReadGroup_DEFAULT NULL
#define readgroup_v1_ReadGroup_first_seen_MSGTYPE google_protobuf_Timestamp
#define readgroup_v1_ReadGroup_last_seen_MSGTYPE google_protobuf_Timestamp

extern const pb_msgdesc_t readgroup_v1_ReadGroup_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define readgroup_v1_ReadGroup_fields &readgroup_v1_ReadGroup_msg

/* Maximum encoded size of messages (where known) */
/* readgroup_v1_ReadGroup_size depends on runtime parameters */

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif
