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

#ifndef PB_USER_AUTH_V1_USER_AUTH_V1_LOGIN_PB_H_INCLUDED
#define PB_USER_AUTH_V1_USER_AUTH_V1_LOGIN_PB_H_INCLUDED
#include <pb.h>
#include "buf/validate/validate.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_auth_v1_LoginRequest {
    pb_callback_t username;
    pb_callback_t password;
} user_auth_v1_LoginRequest;

typedef struct _user_auth_v1_LoginResponse {
    pb_callback_t token;
} user_auth_v1_LoginResponse;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define user_auth_v1_LoginRequest_init_default   {{{NULL}, NULL}, {{NULL}, NULL}}
#define user_auth_v1_LoginResponse_init_default  {{{NULL}, NULL}}
#define user_auth_v1_LoginRequest_init_zero      {{{NULL}, NULL}, {{NULL}, NULL}}
#define user_auth_v1_LoginResponse_init_zero     {{{NULL}, NULL}}

/* Field tags (for use in manual encoding/decoding) */
#define user_auth_v1_LoginRequest_username_tag   1
#define user_auth_v1_LoginRequest_password_tag   2
#define user_auth_v1_LoginResponse_token_tag     1

/* Struct field encoding specification for nanopb */
#define user_auth_v1_LoginRequest_FIELDLIST(X, a) \
X(a, CALLBACK, SINGULAR, STRING,   username,          1) \
X(a, CALLBACK, SINGULAR, STRING,   password,          2)
#define user_auth_v1_LoginRequest_CALLBACK pb_default_field_callback
#define user_auth_v1_LoginRequest_DEFAULT NULL

#define user_auth_v1_LoginResponse_FIELDLIST(X, a) \
X(a, CALLBACK, SINGULAR, STRING,   token,             1)
#define user_auth_v1_LoginResponse_CALLBACK pb_default_field_callback
#define user_auth_v1_LoginResponse_DEFAULT NULL

extern const pb_msgdesc_t user_auth_v1_LoginRequest_msg;
extern const pb_msgdesc_t user_auth_v1_LoginResponse_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define user_auth_v1_LoginRequest_fields &user_auth_v1_LoginRequest_msg
#define user_auth_v1_LoginResponse_fields &user_auth_v1_LoginResponse_msg

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

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

#endif
