GRPC Core  9.0.0
Typedefs | Functions | Variables
timestamp.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_Timestamp google_protobuf_Timestamp
 

Functions

UPB_INLINE google_protobuf_Timestampgoogle_protobuf_Timestamp_new (upb_arena *arena)
 
UPB_INLINE google_protobuf_Timestampgoogle_protobuf_Timestamp_parse (const char *buf, size_t size, upb_arena *arena)
 
UPB_INLINE char * google_protobuf_Timestamp_serialize (const google_protobuf_Timestamp *msg, upb_arena *arena, size_t *len)
 
UPB_INLINE int64_t google_protobuf_Timestamp_seconds (const google_protobuf_Timestamp *msg)
 
UPB_INLINE int32_t google_protobuf_Timestamp_nanos (const google_protobuf_Timestamp *msg)
 
UPB_INLINE void google_protobuf_Timestamp_set_seconds (google_protobuf_Timestamp *msg, int64_t value)
 
UPB_INLINE void google_protobuf_Timestamp_set_nanos (google_protobuf_Timestamp *msg, int32_t value)
 

Variables

const upb_msglayout google_protobuf_Timestamp_msginit
 

Typedef Documentation

◆ google_protobuf_Timestamp

Function Documentation

◆ google_protobuf_Timestamp_nanos()

UPB_INLINE int32_t google_protobuf_Timestamp_nanos ( const google_protobuf_Timestamp msg)

◆ google_protobuf_Timestamp_new()

UPB_INLINE google_protobuf_Timestamp* google_protobuf_Timestamp_new ( upb_arena *  arena)

◆ google_protobuf_Timestamp_parse()

UPB_INLINE google_protobuf_Timestamp* google_protobuf_Timestamp_parse ( const char *  buf,
size_t  size,
upb_arena *  arena 
)

◆ google_protobuf_Timestamp_seconds()

UPB_INLINE int64_t google_protobuf_Timestamp_seconds ( const google_protobuf_Timestamp msg)

◆ google_protobuf_Timestamp_serialize()

UPB_INLINE char* google_protobuf_Timestamp_serialize ( const google_protobuf_Timestamp msg,
upb_arena *  arena,
size_t *  len 
)

◆ google_protobuf_Timestamp_set_nanos()

UPB_INLINE void google_protobuf_Timestamp_set_nanos ( google_protobuf_Timestamp msg,
int32_t  value 
)

◆ google_protobuf_Timestamp_set_seconds()

UPB_INLINE void google_protobuf_Timestamp_set_seconds ( google_protobuf_Timestamp msg,
int64_t  value 
)

Variable Documentation

◆ google_protobuf_Timestamp_msginit

const upb_msglayout google_protobuf_Timestamp_msginit
extern