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

#ifndef PB_ANTENNA_V1_ANTENNA_V1_UPDATE_PB_H_INCLUDED
#define PB_ANTENNA_V1_ANTENNA_V1_UPDATE_PB_H_INCLUDED
#include <pb.h>
#include "antenna/v1/settings.pb.h"
#include "buf/validate/validate.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 _antenna_v1_UpdateAntennaRequest {
    bool has_reader_id;
    util_UUID reader_id;
    uint32_t antenna; /* max uint8 */
    /* metadata */
    bool has_power;
    uint32_t power;
    bool has_connected;
    bool connected;
    /* settings */
    bool has_settings;
    antenna_v1_Settings settings;
} antenna_v1_UpdateAntennaRequest;

typedef struct _antenna_v1_UpdateAntennaResponse {
    char dummy_field;
} antenna_v1_UpdateAntennaResponse;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define antenna_v1_UpdateAntennaRequest_init_default {false, util_UUID_init_default, 0, false, 0, false, 0, false, antenna_v1_Settings_init_default}
#define antenna_v1_UpdateAntennaResponse_init_default {0}
#define antenna_v1_UpdateAntennaRequest_init_zero {false, util_UUID_init_zero, 0, false, 0, false, 0, false, antenna_v1_Settings_init_zero}
#define antenna_v1_UpdateAntennaResponse_init_zero {0}

/* Field tags (for use in manual encoding/decoding) */
#define antenna_v1_UpdateAntennaRequest_reader_id_tag 1
#define antenna_v1_UpdateAntennaRequest_antenna_tag 2
#define antenna_v1_UpdateAntennaRequest_power_tag 3
#define antenna_v1_UpdateAntennaRequest_connected_tag 4
#define antenna_v1_UpdateAntennaRequest_settings_tag 5

/* Struct field encoding specification for nanopb */
#define antenna_v1_UpdateAntennaRequest_FIELDLIST(X, a) \
X(a, STATIC,   OPTIONAL, MESSAGE,  reader_id,         1) \
X(a, STATIC,   SINGULAR, UINT32,   antenna,           2) \
X(a, STATIC,   OPTIONAL, UINT32,   power,             3) \
X(a, STATIC,   OPTIONAL, BOOL,     connected,         4) \
X(a, STATIC,   OPTIONAL, MESSAGE,  settings,          5)
#define antenna_v1_UpdateAntennaRequest_CALLBACK NULL
#define antenna_v1_UpdateAntennaRequest_DEFAULT NULL
#define antenna_v1_UpdateAntennaRequest_reader_id_MSGTYPE util_UUID
#define antenna_v1_UpdateAntennaRequest_settings_MSGTYPE antenna_v1_Settings

#define antenna_v1_UpdateAntennaResponse_FIELDLIST(X, a) \

#define antenna_v1_UpdateAntennaResponse_CALLBACK NULL
#define antenna_v1_UpdateAntennaResponse_DEFAULT NULL

extern const pb_msgdesc_t antenna_v1_UpdateAntennaRequest_msg;
extern const pb_msgdesc_t antenna_v1_UpdateAntennaResponse_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define antenna_v1_UpdateAntennaRequest_fields &antenna_v1_UpdateAntennaRequest_msg
#define antenna_v1_UpdateAntennaResponse_fields &antenna_v1_UpdateAntennaResponse_msg

/* Maximum encoded size of messages (where known) */
#if defined(util_UUID_size) && defined(antenna_v1_Settings_size)
#define ANTENNA_V1_ANTENNA_V1_UPDATE_PB_H_MAX_SIZE antenna_v1_UpdateAntennaRequest_size
#define antenna_v1_UpdateAntennaRequest_size     (26 + util_UUID_size + antenna_v1_Settings_size)
#endif
#define antenna_v1_UpdateAntennaResponse_size    0

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

#endif
