GRPC Core
9.0.0
|
#include "upb/generated_util.h"
#include "upb/msg.h"
#include "upb/decode.h"
#include "upb/encode.h"
#include "upb/port_def.inc"
#include "upb/port_undef.inc"
Go to the source code of this file.
Typedefs | |
typedef struct google_protobuf_Duration | google_protobuf_Duration |
Functions | |
UPB_INLINE google_protobuf_Duration * | google_protobuf_Duration_new (upb_arena *arena) |
UPB_INLINE google_protobuf_Duration * | google_protobuf_Duration_parse (const char *buf, size_t size, upb_arena *arena) |
UPB_INLINE char * | google_protobuf_Duration_serialize (const google_protobuf_Duration *msg, upb_arena *arena, size_t *len) |
UPB_INLINE int64_t | google_protobuf_Duration_seconds (const google_protobuf_Duration *msg) |
UPB_INLINE int32_t | google_protobuf_Duration_nanos (const google_protobuf_Duration *msg) |
UPB_INLINE void | google_protobuf_Duration_set_seconds (google_protobuf_Duration *msg, int64_t value) |
UPB_INLINE void | google_protobuf_Duration_set_nanos (google_protobuf_Duration *msg, int32_t value) |
Variables | |
const upb_msglayout | google_protobuf_Duration_msginit |
typedef struct google_protobuf_Duration google_protobuf_Duration |
UPB_INLINE int32_t google_protobuf_Duration_nanos | ( | const google_protobuf_Duration * | msg | ) |
UPB_INLINE google_protobuf_Duration* google_protobuf_Duration_new | ( | upb_arena * | arena | ) |
UPB_INLINE google_protobuf_Duration* google_protobuf_Duration_parse | ( | const char * | buf, |
size_t | size, | ||
upb_arena * | arena | ||
) |
UPB_INLINE int64_t google_protobuf_Duration_seconds | ( | const google_protobuf_Duration * | msg | ) |
UPB_INLINE char* google_protobuf_Duration_serialize | ( | const google_protobuf_Duration * | msg, |
upb_arena * | arena, | ||
size_t * | len | ||
) |
UPB_INLINE void google_protobuf_Duration_set_nanos | ( | google_protobuf_Duration * | msg, |
int32_t | value | ||
) |
UPB_INLINE void google_protobuf_Duration_set_seconds | ( | google_protobuf_Duration * | msg, |
int64_t | value | ||
) |
const upb_msglayout google_protobuf_Duration_msginit |