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

#ifndef PB_SIGNAL_V1_SIGNAL_V1_SUBSCRIBE_PB_H_INCLUDED
#define PB_SIGNAL_V1_SIGNAL_V1_SUBSCRIBE_PB_H_INCLUDED
#include <pb.h>
#include "signal/v1/signal.pb.h"
#include "signal/v1/type.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 _signal_v1_SubscribeSignalsRequest {
    bool has_reader_id;
    util_UUID reader_id;
    bool has_type;
    signal_v1_SignalType type;
} signal_v1_SubscribeSignalsRequest;

typedef struct _signal_v1_SubscribeSignalsResponse {
    bool has_signal;
    signal_v1_Signal signal;
} signal_v1_SubscribeSignalsResponse;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define signal_v1_SubscribeSignalsRequest_init_default {false, util_UUID_init_default, false, _signal_v1_SignalType_MIN}
#define signal_v1_SubscribeSignalsResponse_init_default {false, signal_v1_Signal_init_default}
#define signal_v1_SubscribeSignalsRequest_init_zero {false, util_UUID_init_zero, false, _signal_v1_SignalType_MIN}
#define signal_v1_SubscribeSignalsResponse_init_zero {false, signal_v1_Signal_init_zero}

/* Field tags (for use in manual encoding/decoding) */
#define signal_v1_SubscribeSignalsRequest_reader_id_tag 1
#define signal_v1_SubscribeSignalsRequest_type_tag 2
#define signal_v1_SubscribeSignalsResponse_signal_tag 1

/* Struct field encoding specification for nanopb */
#define signal_v1_SubscribeSignalsRequest_FIELDLIST(X, a) \
X(a, STATIC,   OPTIONAL, MESSAGE,  reader_id,         1) \
X(a, STATIC,   OPTIONAL, UENUM,    type,              2)
#define signal_v1_SubscribeSignalsRequest_CALLBACK NULL
#define signal_v1_SubscribeSignalsRequest_DEFAULT NULL
#define signal_v1_SubscribeSignalsRequest_reader_id_MSGTYPE util_UUID

#define signal_v1_SubscribeSignalsResponse_FIELDLIST(X, a) \
X(a, STATIC,   OPTIONAL, MESSAGE,  signal,            1)
#define signal_v1_SubscribeSignalsResponse_CALLBACK NULL
#define signal_v1_SubscribeSignalsResponse_DEFAULT NULL
#define signal_v1_SubscribeSignalsResponse_signal_MSGTYPE signal_v1_Signal

extern const pb_msgdesc_t signal_v1_SubscribeSignalsRequest_msg;
extern const pb_msgdesc_t signal_v1_SubscribeSignalsResponse_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define signal_v1_SubscribeSignalsRequest_fields &signal_v1_SubscribeSignalsRequest_msg
#define signal_v1_SubscribeSignalsResponse_fields &signal_v1_SubscribeSignalsResponse_msg

/* Maximum encoded size of messages (where known) */
#if defined(util_UUID_size)
#define SIGNAL_V1_SIGNAL_V1_SUBSCRIBE_PB_H_MAX_SIZE signal_v1_SubscribeSignalsRequest_size
#define signal_v1_SubscribeSignalsRequest_size   (8 + util_UUID_size)
#endif
#if defined(signal_v1_Signal_size)
#define signal_v1_SubscribeSignalsResponse_size  (6 + signal_v1_Signal_size)
#endif

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

#endif
