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

#ifndef PB_READGROUP_V2_READGROUP_V2_END_PB_H_INCLUDED
#define PB_READGROUP_V2_READGROUP_V2_END_PB_H_INCLUDED
#include <pb.h>
#include "google/protobuf/timestamp.pb.h"
#include "util/uuid.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_v2_EndReadGroupRequest {
    bool has_group_id;
    util_UUID group_id;
    bool has_reader_id;
    util_UUID reader_id;
    uint32_t antenna;
    pb_callback_t epc;
    bool has_timestamp;
    google_protobuf_Timestamp timestamp;
    int32_t peak_rssi;
    double skew_rssi;
    double variance_rssi;
    double entropy_rssi;
    pb_callback_t signals;
} readgroup_v2_EndReadGroupRequest;

typedef struct _readgroup_v2_EndReadGroupResponse {
    char dummy_field;
} readgroup_v2_EndReadGroupResponse;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define readgroup_v2_EndReadGroupRequest_init_default {false, util_UUID_init_default, false, util_UUID_init_default, 0, {{NULL}, NULL}, false, google_protobuf_Timestamp_init_default, 0, 0, 0, 0, {{NULL}, NULL}}
#define readgroup_v2_EndReadGroupResponse_init_default {0}
#define readgroup_v2_EndReadGroupRequest_init_zero {false, util_UUID_init_zero, false, util_UUID_init_zero, 0, {{NULL}, NULL}, false, google_protobuf_Timestamp_init_zero, 0, 0, 0, 0, {{NULL}, NULL}}
#define readgroup_v2_EndReadGroupResponse_init_zero {0}

/* Field tags (for use in manual encoding/decoding) */
#define readgroup_v2_EndReadGroupRequest_group_id_tag 1
#define readgroup_v2_EndReadGroupRequest_reader_id_tag 2
#define readgroup_v2_EndReadGroupRequest_antenna_tag 3
#define readgroup_v2_EndReadGroupRequest_epc_tag 4
#define readgroup_v2_EndReadGroupRequest_timestamp_tag 5
#define readgroup_v2_EndReadGroupRequest_peak_rssi_tag 6
#define readgroup_v2_EndReadGroupRequest_skew_rssi_tag 7
#define readgroup_v2_EndReadGroupRequest_variance_rssi_tag 8
#define readgroup_v2_EndReadGroupRequest_entropy_rssi_tag 9
#define readgroup_v2_EndReadGroupRequest_signals_tag 10

/* Struct field encoding specification for nanopb */
#define readgroup_v2_EndReadGroupRequest_FIELDLIST(X, a) \
X(a, STATIC,   OPTIONAL, MESSAGE,  group_id,          1) \
X(a, STATIC,   OPTIONAL, MESSAGE,  reader_id,         2) \
X(a, STATIC,   SINGULAR, UINT32,   antenna,           3) \
X(a, CALLBACK, SINGULAR, STRING,   epc,               4) \
X(a, STATIC,   OPTIONAL, MESSAGE,  timestamp,         5) \
X(a, STATIC,   SINGULAR, SINT32,   peak_rssi,         6) \
X(a, STATIC,   SINGULAR, DOUBLE,   skew_rssi,         7) \
X(a, STATIC,   SINGULAR, DOUBLE,   variance_rssi,     8) \
X(a, STATIC,   SINGULAR, DOUBLE,   entropy_rssi,      9) \
X(a, CALLBACK, REPEATED, UINT32,   signals,          10)
#define readgroup_v2_EndReadGroupRequest_CALLBACK pb_default_field_callback
#define readgroup_v2_EndReadGroupRequest_DEFAULT NULL
#define readgroup_v2_EndReadGroupRequest_group_id_MSGTYPE util_UUID
#define readgroup_v2_EndReadGroupRequest_reader_id_MSGTYPE util_UUID
#define readgroup_v2_EndReadGroupRequest_timestamp_MSGTYPE google_protobuf_Timestamp

#define readgroup_v2_EndReadGroupResponse_FIELDLIST(X, a) \

#define readgroup_v2_EndReadGroupResponse_CALLBACK NULL
#define readgroup_v2_EndReadGroupResponse_DEFAULT NULL

extern const pb_msgdesc_t readgroup_v2_EndReadGroupRequest_msg;
extern const pb_msgdesc_t readgroup_v2_EndReadGroupResponse_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define readgroup_v2_EndReadGroupRequest_fields &readgroup_v2_EndReadGroupRequest_msg
#define readgroup_v2_EndReadGroupResponse_fields &readgroup_v2_EndReadGroupResponse_msg

/* Maximum encoded size of messages (where known) */
/* readgroup_v2_EndReadGroupRequest_size depends on runtime parameters */
#define readgroup_v2_EndReadGroupResponse_size   0

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

#endif
