GRPC Core  9.0.0
Typedefs | Functions | Variables
duration.upb.h File Reference
#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_Durationgoogle_protobuf_Duration_new (upb_arena *arena)
 
UPB_INLINE google_protobuf_Durationgoogle_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 Documentation

◆ google_protobuf_Duration

Function Documentation

◆ google_protobuf_Duration_nanos()

UPB_INLINE int32_t google_protobuf_Duration_nanos ( const google_protobuf_Duration msg)

◆ google_protobuf_Duration_new()

UPB_INLINE google_protobuf_Duration* google_protobuf_Duration_new ( upb_arena *  arena)

◆ google_protobuf_Duration_parse()

UPB_INLINE google_protobuf_Duration* google_protobuf_Duration_parse ( const char *  buf,
size_t  size,
upb_arena *  arena 
)

◆ google_protobuf_Duration_seconds()

UPB_INLINE int64_t google_protobuf_Duration_seconds ( const google_protobuf_Duration msg)

◆ google_protobuf_Duration_serialize()

UPB_INLINE char* google_protobuf_Duration_serialize ( const google_protobuf_Duration msg,
upb_arena *  arena,
size_t *  len 
)

◆ google_protobuf_Duration_set_nanos()

UPB_INLINE void google_protobuf_Duration_set_nanos ( google_protobuf_Duration msg,
int32_t  value 
)

◆ google_protobuf_Duration_set_seconds()

UPB_INLINE void google_protobuf_Duration_set_seconds ( google_protobuf_Duration msg,
int64_t  value 
)

Variable Documentation

◆ google_protobuf_Duration_msginit

const upb_msglayout google_protobuf_Duration_msginit