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

#ifndef PB_ANTENNA_V1_ANTENNA_V1_SUBSCRIBE_PB_H_INCLUDED
#define PB_ANTENNA_V1_ANTENNA_V1_SUBSCRIBE_PB_H_INCLUDED
#include <pb.h>
#include "antenna/v1/antenna.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_SubscribeAntennaRequest {
    bool has_reader_id;
    util_UUID reader_id;
} antenna_v1_SubscribeAntennaRequest;

typedef struct _antenna_v1_SubscribeAntennaResponse {
    bool has_antenna;
    antenna_v1_Antenna antenna;
} antenna_v1_SubscribeAntennaResponse;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define antenna_v1_SubscribeAntennaRequest_init_default {false, util_UUID_init_default}
#define antenna_v1_SubscribeAntennaResponse_init_default {false, antenna_v1_Antenna_init_default}
#define antenna_v1_SubscribeAntennaRequest_init_zero {false, util_UUID_init_zero}
#define antenna_v1_SubscribeAntennaResponse_init_zero {false, antenna_v1_Antenna_init_zero}

/* Field tags (for use in manual encoding/decoding) */
#define antenna_v1_SubscribeAntennaRequest_reader_id_tag 1
#define antenna_v1_SubscribeAntennaResponse_antenna_tag 1

/* Struct field encoding specification for nanopb */
#define antenna_v1_SubscribeAntennaRequest_FIELDLIST(X, a) \
X(a, STATIC,   OPTIONAL, MESSAGE,  reader_id,         1)
#define antenna_v1_SubscribeAntennaRequest_CALLBACK NULL
#define antenna_v1_SubscribeAntennaRequest_DEFAULT NULL
#define antenna_v1_SubscribeAntennaRequest_reader_id_MSGTYPE util_UUID

#define antenna_v1_SubscribeAntennaResponse_FIELDLIST(X, a) \
X(a, STATIC,   OPTIONAL, MESSAGE,  antenna,           1)
#define antenna_v1_SubscribeAntennaResponse_CALLBACK NULL
#define antenna_v1_SubscribeAntennaResponse_DEFAULT NULL
#define antenna_v1_SubscribeAntennaResponse_antenna_MSGTYPE antenna_v1_Antenna

extern const pb_msgdesc_t antenna_v1_SubscribeAntennaRequest_msg;
extern const pb_msgdesc_t antenna_v1_SubscribeAntennaResponse_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define antenna_v1_SubscribeAntennaRequest_fields &antenna_v1_SubscribeAntennaRequest_msg
#define antenna_v1_SubscribeAntennaResponse_fields &antenna_v1_SubscribeAntennaResponse_msg

/* Maximum encoded size of messages (where known) */
#if defined(util_UUID_size)
#define ANTENNA_V1_ANTENNA_V1_SUBSCRIBE_PB_H_MAX_SIZE antenna_v1_SubscribeAntennaRequest_size
#define antenna_v1_SubscribeAntennaRequest_size  (6 + util_UUID_size)
#endif
#if defined(antenna_v1_Antenna_size)
#define antenna_v1_SubscribeAntennaResponse_size (6 + antenna_v1_Antenna_size)
#endif

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

#endif
