63 lines
2.2 KiB
C
63 lines
2.2 KiB
C
/* Automatically generated nanopb header */
|
|
/* Generated by nanopb-0.4.9 */
|
|
|
|
#ifndef PB_ACCOUNT_V1_ACCOUNT_V1_ACCOUNT_PB_H_INCLUDED
|
|
#define PB_ACCOUNT_V1_ACCOUNT_V1_ACCOUNT_PB_H_INCLUDED
|
|
#include <pb.h>
|
|
#include "google/protobuf/timestamp.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_Account {
|
|
bool has_account_id;
|
|
util_UUID account_id;
|
|
pb_callback_t name;
|
|
pb_callback_t logo;
|
|
bool has_last_updated;
|
|
google_protobuf_Timestamp last_updated;
|
|
} account_v1_Account;
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Initializer values for message structs */
|
|
#define account_v1_Account_init_default {false, util_UUID_init_default, {{NULL}, NULL}, {{NULL}, NULL}, false, google_protobuf_Timestamp_init_default}
|
|
#define account_v1_Account_init_zero {false, util_UUID_init_zero, {{NULL}, NULL}, {{NULL}, NULL}, false, google_protobuf_Timestamp_init_zero}
|
|
|
|
/* Field tags (for use in manual encoding/decoding) */
|
|
#define account_v1_Account_account_id_tag 1
|
|
#define account_v1_Account_name_tag 2
|
|
#define account_v1_Account_logo_tag 3
|
|
#define account_v1_Account_last_updated_tag 4
|
|
|
|
/* Struct field encoding specification for nanopb */
|
|
#define account_v1_Account_FIELDLIST(X, a) \
|
|
X(a, STATIC, OPTIONAL, MESSAGE, account_id, 1) \
|
|
X(a, CALLBACK, SINGULAR, STRING, name, 2) \
|
|
X(a, CALLBACK, OPTIONAL, STRING, logo, 3) \
|
|
X(a, STATIC, OPTIONAL, MESSAGE, last_updated, 4)
|
|
#define account_v1_Account_CALLBACK pb_default_field_callback
|
|
#define account_v1_Account_DEFAULT NULL
|
|
#define account_v1_Account_account_id_MSGTYPE util_UUID
|
|
#define account_v1_Account_last_updated_MSGTYPE google_protobuf_Timestamp
|
|
|
|
extern const pb_msgdesc_t account_v1_Account_msg;
|
|
|
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
|
#define account_v1_Account_fields &account_v1_Account_msg
|
|
|
|
/* Maximum encoded size of messages (where known) */
|
|
/* account_v1_Account_size depends on runtime parameters */
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif
|