/* Automatically generated nanopb header */ /* Generated by nanopb-0.4.9 */ #ifndef PB_USER_V1_USER_V1_UPDATE_PASSWORD_PB_H_INCLUDED #define PB_USER_V1_USER_V1_UPDATE_PASSWORD_PB_H_INCLUDED #include #include "buf/validate/validate.pb.h" #include "user/v1/user.pb.h" #if PB_PROTO_HEADER_VERSION != 40 #error Regenerate this file with the current version of nanopb generator. #endif /* Struct definitions */ typedef struct _user_v1_UpdatePasswordRequest { pb_callback_t old_password; pb_callback_t new_password; pb_callback_t confirm_password; } user_v1_UpdatePasswordRequest; typedef struct _user_v1_UpdatePasswordResponse { bool has_user; user_v1_User user; } user_v1_UpdatePasswordResponse; #ifdef __cplusplus extern "C" { #endif /* Initializer values for message structs */ #define user_v1_UpdatePasswordRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} #define user_v1_UpdatePasswordResponse_init_default {false, user_v1_User_init_default} #define user_v1_UpdatePasswordRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} #define user_v1_UpdatePasswordResponse_init_zero {false, user_v1_User_init_zero} /* Field tags (for use in manual encoding/decoding) */ #define user_v1_UpdatePasswordRequest_old_password_tag 1 #define user_v1_UpdatePasswordRequest_new_password_tag 2 #define user_v1_UpdatePasswordRequest_confirm_password_tag 3 #define user_v1_UpdatePasswordResponse_user_tag 1 /* Struct field encoding specification for nanopb */ #define user_v1_UpdatePasswordRequest_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, old_password, 1) \ X(a, CALLBACK, SINGULAR, STRING, new_password, 2) \ X(a, CALLBACK, SINGULAR, STRING, confirm_password, 3) #define user_v1_UpdatePasswordRequest_CALLBACK pb_default_field_callback #define user_v1_UpdatePasswordRequest_DEFAULT NULL #define user_v1_UpdatePasswordResponse_FIELDLIST(X, a) \ X(a, STATIC, OPTIONAL, MESSAGE, user, 1) #define user_v1_UpdatePasswordResponse_CALLBACK NULL #define user_v1_UpdatePasswordResponse_DEFAULT NULL #define user_v1_UpdatePasswordResponse_user_MSGTYPE user_v1_User extern const pb_msgdesc_t user_v1_UpdatePasswordRequest_msg; extern const pb_msgdesc_t user_v1_UpdatePasswordResponse_msg; /* Defines for backwards compatibility with code written before nanopb-0.4.0 */ #define user_v1_UpdatePasswordRequest_fields &user_v1_UpdatePasswordRequest_msg #define user_v1_UpdatePasswordResponse_fields &user_v1_UpdatePasswordResponse_msg /* Maximum encoded size of messages (where known) */ /* user_v1_UpdatePasswordRequest_size depends on runtime parameters */ #if defined(user_v1_User_size) #define USER_V1_USER_V1_UPDATE_PASSWORD_PB_H_MAX_SIZE user_v1_UpdatePasswordResponse_size #define user_v1_UpdatePasswordResponse_size (6 + user_v1_User_size) #endif #ifdef __cplusplus } /* extern "C" */ #endif #endif