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

#ifndef PB_LOCATION_V1_LOCATION_V1_LOCATION_PB_H_INCLUDED
#define PB_LOCATION_V1_LOCATION_V1_LOCATION_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 _location_v1_Location {
    bool has_location_id;
    util_UUID location_id;
    pb_callback_t name;
    bool has_last_updated;
    google_protobuf_Timestamp last_updated;
} location_v1_Location;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define location_v1_Location_init_default        {false, util_UUID_init_default, {{NULL}, NULL}, false, google_protobuf_Timestamp_init_default}
#define location_v1_Location_init_zero           {false, util_UUID_init_zero, {{NULL}, NULL}, false, google_protobuf_Timestamp_init_zero}

/* Field tags (for use in manual encoding/decoding) */
#define location_v1_Location_location_id_tag     1
#define location_v1_Location_name_tag            2
#define location_v1_Location_last_updated_tag    3

/* Struct field encoding specification for nanopb */
#define location_v1_Location_FIELDLIST(X, a) \
X(a, STATIC,   OPTIONAL, MESSAGE,  location_id,       1) \
X(a, CALLBACK, OPTIONAL, STRING,   name,              2) \
X(a, STATIC,   OPTIONAL, MESSAGE,  last_updated,      3)
#define location_v1_Location_CALLBACK pb_default_field_callback
#define location_v1_Location_DEFAULT NULL
#define location_v1_Location_location_id_MSGTYPE util_UUID
#define location_v1_Location_last_updated_MSGTYPE google_protobuf_Timestamp

extern const pb_msgdesc_t location_v1_Location_msg;

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

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

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

#endif
