/* Automatically generated nanopb header */ /* Generated by nanopb-0.4.9 */ #ifndef PB_LOCATION_V1_LOCATION_V1_CREATE_PB_H_INCLUDED #define PB_LOCATION_V1_LOCATION_V1_CREATE_PB_H_INCLUDED #include #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 _location_v1_CreateLocationRequest { pb_callback_t name; } location_v1_CreateLocationRequest; typedef struct _location_v1_CreateLocationResponse { bool has_location_id; util_UUID location_id; } location_v1_CreateLocationResponse; #ifdef __cplusplus extern "C" { #endif /* Initializer values for message structs */ #define location_v1_CreateLocationRequest_init_default {{{NULL}, NULL}} #define location_v1_CreateLocationResponse_init_default {false, util_UUID_init_default} #define location_v1_CreateLocationRequest_init_zero {{{NULL}, NULL}} #define location_v1_CreateLocationResponse_init_zero {false, util_UUID_init_zero} /* Field tags (for use in manual encoding/decoding) */ #define location_v1_CreateLocationRequest_name_tag 1 #define location_v1_CreateLocationResponse_location_id_tag 1 /* Struct field encoding specification for nanopb */ #define location_v1_CreateLocationRequest_FIELDLIST(X, a) \ X(a, CALLBACK, OPTIONAL, STRING, name, 1) #define location_v1_CreateLocationRequest_CALLBACK pb_default_field_callback #define location_v1_CreateLocationRequest_DEFAULT NULL #define location_v1_CreateLocationResponse_FIELDLIST(X, a) \ X(a, STATIC, OPTIONAL, MESSAGE, location_id, 1) #define location_v1_CreateLocationResponse_CALLBACK NULL #define location_v1_CreateLocationResponse_DEFAULT NULL #define location_v1_CreateLocationResponse_location_id_MSGTYPE util_UUID extern const pb_msgdesc_t location_v1_CreateLocationRequest_msg; extern const pb_msgdesc_t location_v1_CreateLocationResponse_msg; /* Defines for backwards compatibility with code written before nanopb-0.4.0 */ #define location_v1_CreateLocationRequest_fields &location_v1_CreateLocationRequest_msg #define location_v1_CreateLocationResponse_fields &location_v1_CreateLocationResponse_msg /* Maximum encoded size of messages (where known) */ /* location_v1_CreateLocationRequest_size depends on runtime parameters */ #if defined(util_UUID_size) #define LOCATION_V1_LOCATION_V1_CREATE_PB_H_MAX_SIZE location_v1_CreateLocationResponse_size #define location_v1_CreateLocationResponse_size (6 + util_UUID_size) #endif #ifdef __cplusplus } /* extern "C" */ #endif #endif