init
This commit is contained in:
62
vendor/protobuf/user/v1/user.pb.h
vendored
Normal file
62
vendor/protobuf/user/v1/user.pb.h
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
/* Automatically generated nanopb header */
|
||||
/* Generated by nanopb-0.4.9 */
|
||||
|
||||
#ifndef PB_USER_V1_USER_V1_USER_PB_H_INCLUDED
|
||||
#define PB_USER_V1_USER_V1_USER_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 _user_v1_User {
|
||||
bool has_user_id;
|
||||
util_UUID user_id;
|
||||
pb_callback_t username;
|
||||
pb_callback_t scope;
|
||||
bool has_account;
|
||||
account_v1_Account account;
|
||||
} user_v1_User;
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Initializer values for message structs */
|
||||
#define user_v1_User_init_default {false, util_UUID_init_default, {{NULL}, NULL}, {{NULL}, NULL}, false, account_v1_Account_init_default}
|
||||
#define user_v1_User_init_zero {false, util_UUID_init_zero, {{NULL}, NULL}, {{NULL}, NULL}, false, account_v1_Account_init_zero}
|
||||
|
||||
/* Field tags (for use in manual encoding/decoding) */
|
||||
#define user_v1_User_user_id_tag 1
|
||||
#define user_v1_User_username_tag 2
|
||||
#define user_v1_User_scope_tag 3
|
||||
#define user_v1_User_account_tag 4
|
||||
|
||||
/* Struct field encoding specification for nanopb */
|
||||
#define user_v1_User_FIELDLIST(X, a) \
|
||||
X(a, STATIC, OPTIONAL, MESSAGE, user_id, 1) \
|
||||
X(a, CALLBACK, SINGULAR, STRING, username, 2) \
|
||||
X(a, CALLBACK, SINGULAR, STRING, scope, 3) \
|
||||
X(a, STATIC, OPTIONAL, MESSAGE, account, 4)
|
||||
#define user_v1_User_CALLBACK pb_default_field_callback
|
||||
#define user_v1_User_DEFAULT NULL
|
||||
#define user_v1_User_user_id_MSGTYPE util_UUID
|
||||
#define user_v1_User_account_MSGTYPE account_v1_Account
|
||||
|
||||
extern const pb_msgdesc_t user_v1_User_msg;
|
||||
|
||||
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
||||
#define user_v1_User_fields &user_v1_User_msg
|
||||
|
||||
/* Maximum encoded size of messages (where known) */
|
||||
/* user_v1_User_size depends on runtime parameters */
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user