9 #ifndef GOOGLE_PROTOBUF_TIMESTAMP_PROTO_UPB_H_
10 #define GOOGLE_PROTOBUF_TIMESTAMP_PROTO_UPB_H_
12 #include "upb/generated_util.h"
14 #include "upb/decode.h"
15 #include "upb/encode.h"
17 #include "upb/port_def.inc"
46 UPB_FIELD_AT(msg, int64_t, UPB_SIZE(0, 0)) = value;
49 UPB_FIELD_AT(msg, int32_t, UPB_SIZE(8, 8)) = value;
56 #include "upb/port_undef.inc"
const upb_msglayout google_protobuf_Timestamp_msginit
Definition: timestamp.upb.c:20
UPB_INLINE int64_t google_protobuf_Timestamp_seconds(const google_protobuf_Timestamp *msg)
Definition: timestamp.upb.h:42
UPB_INLINE google_protobuf_Timestamp * google_protobuf_Timestamp_parse(const char *buf, size_t size, upb_arena *arena)
Definition: timestamp.upb.h:33
UPB_INLINE char * google_protobuf_Timestamp_serialize(const google_protobuf_Timestamp *msg, upb_arena *arena, size_t *len)
Definition: timestamp.upb.h:38
UPB_INLINE void google_protobuf_Timestamp_set_nanos(google_protobuf_Timestamp *msg, int32_t value)
Definition: timestamp.upb.h:48
UPB_INLINE void google_protobuf_Timestamp_set_seconds(google_protobuf_Timestamp *msg, int64_t value)
Definition: timestamp.upb.h:45
UPB_INLINE int32_t google_protobuf_Timestamp_nanos(const google_protobuf_Timestamp *msg)
Definition: timestamp.upb.h:43
struct google_protobuf_Timestamp google_protobuf_Timestamp
Definition: timestamp.upb.h:24
UPB_INLINE google_protobuf_Timestamp * google_protobuf_Timestamp_new(upb_arena *arena)
Definition: timestamp.upb.h:30