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

#ifndef PB_USER_AUTH_V1_USER_AUTH_V1_PASSKEY_LOGIN_PB_H_INCLUDED
#define PB_USER_AUTH_V1_USER_AUTH_V1_PASSKEY_LOGIN_PB_H_INCLUDED
#include <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_BeginPasskeyLoginRequest {
    pb_callback_t username;
} user_auth_v1_BeginPasskeyLoginRequest;

typedef struct _user_auth_v1_BeginPasskeyLoginResponse {
    pb_callback_t options_json;
} user_auth_v1_BeginPasskeyLoginResponse;

typedef struct _user_auth_v1_FinishPasskeyLoginRequest {
    pb_callback_t username;
    pb_callback_t attestation;
} user_auth_v1_FinishPasskeyLoginRequest;

typedef struct _user_auth_v1_FinishPasskeyLoginResponse {
    pb_callback_t token;
} user_auth_v1_FinishPasskeyLoginResponse;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define user_auth_v1_BeginPasskeyLoginRequest_init_default {{{NULL}, NULL}}
#define user_auth_v1_BeginPasskeyLoginResponse_init_default {{{NULL}, NULL}}
#define user_auth_v1_FinishPasskeyLoginRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}}
#define user_auth_v1_FinishPasskeyLoginResponse_init_default {{{NULL}, NULL}}
#define user_auth_v1_BeginPasskeyLoginRequest_init_zero {{{NULL}, NULL}}
#define user_auth_v1_BeginPasskeyLoginResponse_init_zero {{{NULL}, NULL}}
#define user_auth_v1_FinishPasskeyLoginRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}}
#define user_auth_v1_FinishPasskeyLoginResponse_init_zero {{{NULL}, NULL}}

/* Field tags (for use in manual encoding/decoding) */
#define user_auth_v1_BeginPasskeyLoginRequest_username_tag 1
#define user_auth_v1_BeginPasskeyLoginResponse_options_json_tag 1
#define user_auth_v1_FinishPasskeyLoginRequest_username_tag 1
#define user_auth_v1_FinishPasskeyLoginRequest_attestation_tag 2
#define user_auth_v1_FinishPasskeyLoginResponse_token_tag 1

/* Struct field encoding specification for nanopb */
#define user_auth_v1_BeginPasskeyLoginRequest_FIELDLIST(X, a) \
X(a, CALLBACK, SINGULAR, STRING,   username,          1)
#define user_auth_v1_BeginPasskeyLoginRequest_CALLBACK pb_default_field_callback
#define user_auth_v1_BeginPasskeyLoginRequest_DEFAULT NULL

#define user_auth_v1_BeginPasskeyLoginResponse_FIELDLIST(X, a) \
X(a, CALLBACK, SINGULAR, STRING,   options_json,      1)
#define user_auth_v1_BeginPasskeyLoginResponse_CALLBACK pb_default_field_callback
#define user_auth_v1_BeginPasskeyLoginResponse_DEFAULT NULL

#define user_auth_v1_FinishPasskeyLoginRequest_FIELDLIST(X, a) \
X(a, CALLBACK, SINGULAR, STRING,   username,          1) \
X(a, CALLBACK, SINGULAR, STRING,   attestation,       2)
#define user_auth_v1_FinishPasskeyLoginRequest_CALLBACK pb_default_field_callback
#define user_auth_v1_FinishPasskeyLoginRequest_DEFAULT NULL

#define user_auth_v1_FinishPasskeyLoginResponse_FIELDLIST(X, a) \
X(a, CALLBACK, SINGULAR, STRING,   token,             1)
#define user_auth_v1_FinishPasskeyLoginResponse_CALLBACK pb_default_field_callback
#define user_auth_v1_FinishPasskeyLoginResponse_DEFAULT NULL

extern const pb_msgdesc_t user_auth_v1_BeginPasskeyLoginRequest_msg;
extern const pb_msgdesc_t user_auth_v1_BeginPasskeyLoginResponse_msg;
extern const pb_msgdesc_t user_auth_v1_FinishPasskeyLoginRequest_msg;
extern const pb_msgdesc_t user_auth_v1_FinishPasskeyLoginResponse_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define user_auth_v1_BeginPasskeyLoginRequest_fields &user_auth_v1_BeginPasskeyLoginRequest_msg
#define user_auth_v1_BeginPasskeyLoginResponse_fields &user_auth_v1_BeginPasskeyLoginResponse_msg
#define user_auth_v1_FinishPasskeyLoginRequest_fields &user_auth_v1_FinishPasskeyLoginRequest_msg
#define user_auth_v1_FinishPasskeyLoginResponse_fields &user_auth_v1_FinishPasskeyLoginResponse_msg

/* Maximum encoded size of messages (where known) */
/* user_auth_v1_BeginPasskeyLoginRequest_size depends on runtime parameters */
/* user_auth_v1_BeginPasskeyLoginResponse_size depends on runtime parameters */
/* user_auth_v1_FinishPasskeyLoginRequest_size depends on runtime parameters */
/* user_auth_v1_FinishPasskeyLoginResponse_size depends on runtime parameters */

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

#endif
