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

#ifndef PB_ACCOUNT_V1_ACCOUNT_V1_GET_PB_H_INCLUDED
#define PB_ACCOUNT_V1_ACCOUNT_V1_GET_PB_H_INCLUDED
#include <pb.h>
#include "account/v1/account.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 _account_v1_GetAccountRequest {
    bool has_account_id;
    util_UUID account_id;
} account_v1_GetAccountRequest;

typedef struct _account_v1_GetAccountResponse {
    bool has_account;
    account_v1_Account account;
} account_v1_GetAccountResponse;

typedef struct _account_v1_GetAccountsRequest {
    char dummy_field;
} account_v1_GetAccountsRequest;

typedef struct _account_v1_GetAccountsResponse {
    pb_callback_t accounts;
} account_v1_GetAccountsResponse;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define account_v1_GetAccountRequest_init_default {false, util_UUID_init_default}
#define account_v1_GetAccountResponse_init_default {false, account_v1_Account_init_default}
#define account_v1_GetAccountsRequest_init_default {0}
#define account_v1_GetAccountsResponse_init_default {{{NULL}, NULL}}
#define account_v1_GetAccountRequest_init_zero   {false, util_UUID_init_zero}
#define account_v1_GetAccountResponse_init_zero  {false, account_v1_Account_init_zero}
#define account_v1_GetAccountsRequest_init_zero  {0}
#define account_v1_GetAccountsResponse_init_zero {{{NULL}, NULL}}

/* Field tags (for use in manual encoding/decoding) */
#define account_v1_GetAccountRequest_account_id_tag 1
#define account_v1_GetAccountResponse_account_tag 1
#define account_v1_GetAccountsResponse_accounts_tag 1

/* Struct field encoding specification for nanopb */
#define account_v1_GetAccountRequest_FIELDLIST(X, a) \
X(a, STATIC,   OPTIONAL, MESSAGE,  account_id,        1)
#define account_v1_GetAccountRequest_CALLBACK NULL
#define account_v1_GetAccountRequest_DEFAULT NULL
#define account_v1_GetAccountRequest_account_id_MSGTYPE util_UUID

#define account_v1_GetAccountResponse_FIELDLIST(X, a) \
X(a, STATIC,   OPTIONAL, MESSAGE,  account,           1)
#define account_v1_GetAccountResponse_CALLBACK NULL
#define account_v1_GetAccountResponse_DEFAULT NULL
#define account_v1_GetAccountResponse_account_MSGTYPE account_v1_Account

#define account_v1_GetAccountsRequest_FIELDLIST(X, a) \

#define account_v1_GetAccountsRequest_CALLBACK NULL
#define account_v1_GetAccountsRequest_DEFAULT NULL

#define account_v1_GetAccountsResponse_FIELDLIST(X, a) \
X(a, CALLBACK, REPEATED, MESSAGE,  accounts,          1)
#define account_v1_GetAccountsResponse_CALLBACK pb_default_field_callback
#define account_v1_GetAccountsResponse_DEFAULT NULL
#define account_v1_GetAccountsResponse_accounts_MSGTYPE account_v1_Account

extern const pb_msgdesc_t account_v1_GetAccountRequest_msg;
extern const pb_msgdesc_t account_v1_GetAccountResponse_msg;
extern const pb_msgdesc_t account_v1_GetAccountsRequest_msg;
extern const pb_msgdesc_t account_v1_GetAccountsResponse_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define account_v1_GetAccountRequest_fields &account_v1_GetAccountRequest_msg
#define account_v1_GetAccountResponse_fields &account_v1_GetAccountResponse_msg
#define account_v1_GetAccountsRequest_fields &account_v1_GetAccountsRequest_msg
#define account_v1_GetAccountsResponse_fields &account_v1_GetAccountsResponse_msg

/* Maximum encoded size of messages (where known) */
/* account_v1_GetAccountsResponse_size depends on runtime parameters */
#if defined(util_UUID_size)
#define ACCOUNT_V1_ACCOUNT_V1_GET_PB_H_MAX_SIZE  account_v1_GetAccountRequest_size
#define account_v1_GetAccountRequest_size        (6 + util_UUID_size)
#endif
#if defined(account_v1_Account_size)
#define account_v1_GetAccountResponse_size       (6 + account_v1_Account_size)
#endif
#define account_v1_GetAccountsRequest_size       0

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

#endif
