/* Automatically generated nanopb header */ /* Generated by nanopb-0.4.9 */ #ifndef PB_LOCATION_V1_LOCATION_V1_GET_PB_H_INCLUDED #define PB_LOCATION_V1_LOCATION_V1_GET_PB_H_INCLUDED #include #include "location/v1/location.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_GetLocationRequest { bool has_location_id; util_UUID location_id; } location_v1_GetLocationRequest; typedef struct _location_v1_GetLocationResponse { bool has_location; location_v1_Location location; } location_v1_GetLocationResponse; typedef struct _location_v1_GetLocationsRequest { char dummy_field; } location_v1_GetLocationsRequest; typedef struct _location_v1_GetLocationsResponse { pb_callback_t locations; } location_v1_GetLocationsResponse; #ifdef __cplusplus extern "C" { #endif /* Initializer values for message structs */ #define location_v1_GetLocationRequest_init_default {false, util_UUID_init_default} #define location_v1_GetLocationResponse_init_default {false, location_v1_Location_init_default} #define location_v1_GetLocationsRequest_init_default {0} #define location_v1_GetLocationsResponse_init_default {{{NULL}, NULL}} #define location_v1_GetLocationRequest_init_zero {false, util_UUID_init_zero} #define location_v1_GetLocationResponse_init_zero {false, location_v1_Location_init_zero} #define location_v1_GetLocationsRequest_init_zero {0} #define location_v1_GetLocationsResponse_init_zero {{{NULL}, NULL}} /* Field tags (for use in manual encoding/decoding) */ #define location_v1_GetLocationRequest_location_id_tag 1 #define location_v1_GetLocationResponse_location_tag 1 #define location_v1_GetLocationsResponse_locations_tag 1 /* Struct field encoding specification for nanopb */ #define location_v1_GetLocationRequest_FIELDLIST(X, a) \ X(a, STATIC, OPTIONAL, MESSAGE, location_id, 1) #define location_v1_GetLocationRequest_CALLBACK NULL #define location_v1_GetLocationRequest_DEFAULT NULL #define location_v1_GetLocationRequest_location_id_MSGTYPE util_UUID #define location_v1_GetLocationResponse_FIELDLIST(X, a) \ X(a, STATIC, OPTIONAL, MESSAGE, location, 1) #define location_v1_GetLocationResponse_CALLBACK NULL #define location_v1_GetLocationResponse_DEFAULT NULL #define location_v1_GetLocationResponse_location_MSGTYPE location_v1_Location #define location_v1_GetLocationsRequest_FIELDLIST(X, a) \ #define location_v1_GetLocationsRequest_CALLBACK NULL #define location_v1_GetLocationsRequest_DEFAULT NULL #define location_v1_GetLocationsResponse_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, MESSAGE, locations, 1) #define location_v1_GetLocationsResponse_CALLBACK pb_default_field_callback #define location_v1_GetLocationsResponse_DEFAULT NULL #define location_v1_GetLocationsResponse_locations_MSGTYPE location_v1_Location extern const pb_msgdesc_t location_v1_GetLocationRequest_msg; extern const pb_msgdesc_t location_v1_GetLocationResponse_msg; extern const pb_msgdesc_t location_v1_GetLocationsRequest_msg; extern const pb_msgdesc_t location_v1_GetLocationsResponse_msg; /* Defines for backwards compatibility with code written before nanopb-0.4.0 */ #define location_v1_GetLocationRequest_fields &location_v1_GetLocationRequest_msg #define location_v1_GetLocationResponse_fields &location_v1_GetLocationResponse_msg #define location_v1_GetLocationsRequest_fields &location_v1_GetLocationsRequest_msg #define location_v1_GetLocationsResponse_fields &location_v1_GetLocationsResponse_msg /* Maximum encoded size of messages (where known) */ /* location_v1_GetLocationsResponse_size depends on runtime parameters */ #if defined(util_UUID_size) #define LOCATION_V1_LOCATION_V1_GET_PB_H_MAX_SIZE location_v1_GetLocationRequest_size #define location_v1_GetLocationRequest_size (6 + util_UUID_size) #endif #if defined(location_v1_Location_size) #define location_v1_GetLocationResponse_size (6 + location_v1_Location_size) #endif #define location_v1_GetLocationsRequest_size 0 #ifdef __cplusplus } /* extern "C" */ #endif #endif