timestamp.upb.h
Go to the documentation of this file.
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  * google/protobuf/timestamp.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef GOOGLE_PROTOBUF_TIMESTAMP_PROTO_UPB_H_
10 #define GOOGLE_PROTOBUF_TIMESTAMP_PROTO_UPB_H_
11 
12 #include "upb/msg_internal.h"
13 #include "upb/decode.h"
14 #include "upb/decode_fast.h"
15 #include "upb/encode.h"
16 
17 #include "upb/port_def.inc"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
26 
27 
28 
29 /* google.protobuf.Timestamp */
30 
33 }
36  if (!ret) return NULL;
38  return NULL;
39  }
40  return ret;
41 }
43  const upb_ExtensionRegistry* extreg,
44  int options, upb_Arena* arena) {
46  if (!ret) return NULL;
49  return NULL;
50  }
51  return ret;
52 }
55 }
57  upb_Arena* arena, size_t* len) {
59 }
61  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), int64_t) = 0;
62 }
64  return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), int64_t);
65 }
67  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t) = 0;
68 }
70  return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t);
71 }
72 
74  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), int64_t) = value;
75 }
77  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t) = value;
78 }
79 
81 
82 #ifdef __cplusplus
83 } /* extern "C" */
84 #endif
85 
86 #include "upb/port_undef.inc"
87 
88 #endif /* GOOGLE_PROTOBUF_TIMESTAMP_PROTO_UPB_H_ */
google_protobuf_Timestamp_serialize
UPB_INLINE char * google_protobuf_Timestamp_serialize(const google_protobuf_Timestamp *msg, upb_Arena *arena, size_t *len)
Definition: timestamp.upb.h:53
google_protobuf_Timestamp_seconds
UPB_INLINE int64_t google_protobuf_Timestamp_seconds(const google_protobuf_Timestamp *msg)
Definition: timestamp.upb.h:63
google_protobuf_Timestamp_serialize_ex
UPB_INLINE char * google_protobuf_Timestamp_serialize_ex(const google_protobuf_Timestamp *msg, int options, upb_Arena *arena, size_t *len)
Definition: timestamp.upb.h:56
google_protobuf_Timestamp_set_seconds
UPB_INLINE void google_protobuf_Timestamp_set_seconds(google_protobuf_Timestamp *msg, int64_t value)
Definition: timestamp.upb.h:73
encode.h
upb_Decode
upb_DecodeStatus upb_Decode(const char *buf, size_t size, void *msg, const upb_MiniTable *l, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: decode.c:1076
options
double_dict options[]
Definition: capstone_test.c:55
buf
voidpf void * buf
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
kUpb_DecodeStatus_Ok
@ kUpb_DecodeStatus_Ok
Definition: decode.h:72
upb_MiniTable
Definition: msg_internal.h:185
google_protobuf_Timestamp_parse
UPB_INLINE google_protobuf_Timestamp * google_protobuf_Timestamp_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: timestamp.upb.h:34
google_protobuf_Timestamp_msginit
const upb_MiniTable google_protobuf_Timestamp_msginit
Definition: timestamp.upb.c:20
UPB_PTR_AT
#define UPB_PTR_AT(msg, ofs, type)
Definition: php-upb.c:71
google_protobuf_Timestamp_clear_seconds
UPB_INLINE void google_protobuf_Timestamp_clear_seconds(const google_protobuf_Timestamp *msg)
Definition: timestamp.upb.h:60
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
_upb_Message_New
upb_Message * _upb_Message_New(const upb_MiniTable *l, upb_Arena *a)
Definition: msg.c:44
decode.h
int64_t
signed __int64 int64_t
Definition: stdint-msvc2008.h:89
google_protobuf_Timestamp_parse_ex
UPB_INLINE google_protobuf_Timestamp * google_protobuf_Timestamp_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: timestamp.upb.h:42
google_protobuf_Timestamp_new
UPB_INLINE google_protobuf_Timestamp * google_protobuf_Timestamp_new(upb_Arena *arena)
Definition: timestamp.upb.h:31
UPB_SIZE
#define UPB_SIZE(size32, size64)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:32
UPB_INLINE
#define UPB_INLINE
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:53
upb_MiniTable_File
Definition: msg_internal.h:208
google_protobuf_Timestamp_set_nanos
UPB_INLINE void google_protobuf_Timestamp_set_nanos(google_protobuf_Timestamp *msg, int32_t value)
Definition: timestamp.upb.h:76
decode_fast.h
msg
std::string msg
Definition: client_interceptors_end2end_test.cc:372
google_protobuf_Timestamp
struct google_protobuf_Timestamp google_protobuf_Timestamp
Definition: timestamp.upb.h:24
value
const char * value
Definition: hpack_parser_table.cc:165
upb_Encode
char * upb_Encode(const void *msg, const upb_MiniTable *l, int options, upb_Arena *arena, size_t *size)
Definition: encode.c:573
ret
UniquePtr< SSL_SESSION > ret
Definition: ssl_x509.cc:1029
google_protobuf_timestamp_proto_upb_file_layout
const upb_MiniTable_File google_protobuf_timestamp_proto_upb_file_layout
Definition: timestamp.upb.c:30
google_protobuf_Timestamp_nanos
UPB_INLINE int32_t google_protobuf_Timestamp_nanos(const google_protobuf_Timestamp *msg)
Definition: timestamp.upb.h:69
len
int len
Definition: abseil-cpp/absl/base/internal/low_level_alloc_test.cc:46
size
voidpf void uLong size
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
google_protobuf_Timestamp_clear_nanos
UPB_INLINE void google_protobuf_Timestamp_clear_nanos(const google_protobuf_Timestamp *msg)
Definition: timestamp.upb.h:66
int32_t
signed int int32_t
Definition: stdint-msvc2008.h:77
msg_internal.h
upb_Arena
Definition: upb_internal.h:36
upb_ExtensionRegistry
Definition: msg.c:372


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:39