any.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/any.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef GOOGLE_PROTOBUF_ANY_PROTO_UPB_H_
10 #define GOOGLE_PROTOBUF_ANY_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 
23 struct google_protobuf_Any;
26 
27 
28 
29 /* google.protobuf.Any */
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 }
62 }
64  return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_StringView);
65 }
68 }
70  return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), upb_StringView);
71 }
72 
75 }
78 }
79 
81 
82 #ifdef __cplusplus
83 } /* extern "C" */
84 #endif
85 
86 #include "upb/port_undef.inc"
87 
88 #endif /* GOOGLE_PROTOBUF_ANY_PROTO_UPB_H_ */
google_protobuf_Any_msginit
const upb_MiniTable google_protobuf_Any_msginit
Definition: any.upb.c:20
google_protobuf_Any_parse
UPB_INLINE google_protobuf_Any * google_protobuf_Any_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: any.upb.h:34
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_Any_set_type_url
UPB_INLINE void google_protobuf_Any_set_type_url(google_protobuf_Any *msg, upb_StringView value)
Definition: any.upb.h:73
UPB_PTR_AT
#define UPB_PTR_AT(msg, ofs, type)
Definition: php-upb.c:71
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
google_protobuf_Any
struct google_protobuf_Any google_protobuf_Any
Definition: any.upb.h:24
google_protobuf_Any_new
UPB_INLINE google_protobuf_Any * google_protobuf_Any_new(upb_Arena *arena)
Definition: any.upb.h:31
_upb_Message_New
upb_Message * _upb_Message_New(const upb_MiniTable *l, upb_Arena *a)
Definition: msg.c:44
google_protobuf_Any_parse_ex
UPB_INLINE google_protobuf_Any * google_protobuf_Any_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: any.upb.h:42
decode.h
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_any_proto_upb_file_layout
const upb_MiniTable_File google_protobuf_any_proto_upb_file_layout
Definition: any.upb.c:30
google_protobuf_Any_serialize
UPB_INLINE char * google_protobuf_Any_serialize(const google_protobuf_Any *msg, upb_Arena *arena, size_t *len)
Definition: any.upb.h:53
google_protobuf_Any_serialize_ex
UPB_INLINE char * google_protobuf_Any_serialize_ex(const google_protobuf_Any *msg, int options, upb_Arena *arena, size_t *len)
Definition: any.upb.h:56
decode_fast.h
msg
std::string msg
Definition: client_interceptors_end2end_test.cc:372
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
upb_StringView
Definition: upb/upb/upb.h:72
google_protobuf_Any_set_value
UPB_INLINE void google_protobuf_Any_set_value(google_protobuf_Any *msg, upb_StringView value)
Definition: any.upb.h:76
google_protobuf_Any_clear_value
UPB_INLINE void google_protobuf_Any_clear_value(const google_protobuf_Any *msg)
Definition: any.upb.h:66
ret
UniquePtr< SSL_SESSION > ret
Definition: ssl_x509.cc:1029
upb_StringView_FromDataAndSize
UPB_INLINE upb_StringView upb_StringView_FromDataAndSize(const char *data, size_t size)
Definition: upb/upb/upb.h:77
google_protobuf_Any_type_url
UPB_INLINE upb_StringView google_protobuf_Any_type_url(const google_protobuf_Any *msg)
Definition: any.upb.h:63
google_protobuf_Any_clear_type_url
UPB_INLINE void google_protobuf_Any_clear_type_url(const google_protobuf_Any *msg)
Definition: any.upb.h:60
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
msg_internal.h
upb_Arena
Definition: upb_internal.h:36
upb_ExtensionRegistry
Definition: msg.c:372
google_protobuf_Any_value
UPB_INLINE upb_StringView google_protobuf_Any_value(const google_protobuf_Any *msg)
Definition: any.upb.h:69


grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:30