| 1 |
/* This file was generated by upbc (the upb compiler) from the input |
| 2 |
* file: |
| 3 |
* |
| 4 |
* google/protobuf/wrappers.proto |
| 5 |
* |
| 6 |
* Do not edit -- your changes will be discarded when the file is |
| 7 |
* regenerated. */ |
| 8 |
|
| 9 |
#ifndef GOOGLE_PROTOBUF_WRAPPERS_PROTO_UPBDEFS_H_ |
| 10 |
#define GOOGLE_PROTOBUF_WRAPPERS_PROTO_UPBDEFS_H_ |
| 11 |
|
| 12 |
#include "upb/def.h" |
| 13 |
#include "upb/port_def.inc" |
| 14 |
#ifdef __cplusplus |
| 15 |
extern "C" { |
| 16 |
#endif |
| 17 |
|
| 18 |
#include "upb/def.h" |
| 19 |
|
| 20 |
#include "upb/port_def.inc" |
| 21 |
|
| 22 |
extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; |
| 23 |
|
| 24 |
UPB_INLINE const upb_MessageDef *google_protobuf_DoubleValue_getmsgdef(upb_DefPool *s) { |
| 25 |
_upb_DefPool_LoadDefInit(s, &google_protobuf_wrappers_proto_upbdefinit); |
| 26 |
return upb_DefPool_FindMessageByName(s, "google.protobuf.DoubleValue"); |
| 27 |
} |
| 28 |
|
| 29 |
UPB_INLINE const upb_MessageDef *google_protobuf_FloatValue_getmsgdef(upb_DefPool *s) { |
| 30 |
_upb_DefPool_LoadDefInit(s, &google_protobuf_wrappers_proto_upbdefinit); |
| 31 |
return upb_DefPool_FindMessageByName(s, "google.protobuf.FloatValue"); |
| 32 |
} |
| 33 |
|
| 34 |
UPB_INLINE const upb_MessageDef *google_protobuf_Int64Value_getmsgdef(upb_DefPool *s) { |
| 35 |
_upb_DefPool_LoadDefInit(s, &google_protobuf_wrappers_proto_upbdefinit); |
| 36 |
return upb_DefPool_FindMessageByName(s, "google.protobuf.Int64Value"); |
| 37 |
} |
| 38 |
|
| 39 |
UPB_INLINE const upb_MessageDef *google_protobuf_UInt64Value_getmsgdef(upb_DefPool *s) { |
| 40 |
_upb_DefPool_LoadDefInit(s, &google_protobuf_wrappers_proto_upbdefinit); |
| 41 |
return upb_DefPool_FindMessageByName(s, "google.protobuf.UInt64Value"); |
| 42 |
} |
| 43 |
|
| 44 |
UPB_INLINE const upb_MessageDef *google_protobuf_Int32Value_getmsgdef(upb_DefPool *s) { |
| 45 |
_upb_DefPool_LoadDefInit(s, &google_protobuf_wrappers_proto_upbdefinit); |
| 46 |
return upb_DefPool_FindMessageByName(s, "google.protobuf.Int32Value"); |
| 47 |
} |
| 48 |
|
| 49 |
UPB_INLINE const upb_MessageDef *google_protobuf_UInt32Value_getmsgdef(upb_DefPool *s) { |
| 50 |
_upb_DefPool_LoadDefInit(s, &google_protobuf_wrappers_proto_upbdefinit); |
| 51 |
return upb_DefPool_FindMessageByName(s, "google.protobuf.UInt32Value"); |
| 52 |
} |
| 53 |
|
| 54 |
UPB_INLINE const upb_MessageDef *google_protobuf_BoolValue_getmsgdef(upb_DefPool *s) { |
| 55 |
_upb_DefPool_LoadDefInit(s, &google_protobuf_wrappers_proto_upbdefinit); |
| 56 |
return upb_DefPool_FindMessageByName(s, "google.protobuf.BoolValue"); |
| 57 |
} |
| 58 |
|
| 59 |
UPB_INLINE const upb_MessageDef *google_protobuf_StringValue_getmsgdef(upb_DefPool *s) { |
| 60 |
_upb_DefPool_LoadDefInit(s, &google_protobuf_wrappers_proto_upbdefinit); |
| 61 |
return upb_DefPool_FindMessageByName(s, "google.protobuf.StringValue"); |
| 62 |
} |
| 63 |
|
| 64 |
UPB_INLINE const upb_MessageDef *google_protobuf_BytesValue_getmsgdef(upb_DefPool *s) { |
| 65 |
_upb_DefPool_LoadDefInit(s, &google_protobuf_wrappers_proto_upbdefinit); |
| 66 |
return upb_DefPool_FindMessageByName(s, "google.protobuf.BytesValue"); |
| 67 |
} |
| 68 |
|
| 69 |
#ifdef __cplusplus |
| 70 |
} /* extern "C" */ |
| 71 |
#endif |
| 72 |
|
| 73 |
#include "upb/port_undef.inc" |
| 74 |
|
| 75 |
#endif /* GOOGLE_PROTOBUF_WRAPPERS_PROTO_UPBDEFS_H_ */ |