httpbody.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/api/httpbody.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef GOOGLE_API_HTTPBODY_PROTO_UPB_H_
10 #define GOOGLE_API_HTTPBODY_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_api_HttpBody;
26 struct google_protobuf_Any;
28 
29 
30 
31 /* google.api.HttpBody */
32 
35 }
38  if (!ret) return NULL;
40  return NULL;
41  }
42  return ret;
43 }
45  const upb_ExtensionRegistry* extreg,
46  int options, upb_Arena* arena) {
48  if (!ret) return NULL;
51  return NULL;
52  }
53  return ret;
54 }
57 }
59  upb_Arena* arena, size_t* len) {
61 }
64 }
66  return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_StringView);
67 }
70 }
72  return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), upb_StringView);
73 }
75  return _upb_has_submsg_nohasbit(msg, UPB_SIZE(16, 32));
76 }
78  _upb_array_detach(msg, UPB_SIZE(16, 32));
79 }
81  return (const struct google_protobuf_Any* const*)_upb_array_accessor(msg, UPB_SIZE(16, 32), len);
82 }
83 
86 }
89 }
92 }
94  return (struct google_protobuf_Any**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(16, 32), len, UPB_SIZE(2, 3), arena);
95 }
98  bool ok = _upb_Array_Append_accessor2(msg, UPB_SIZE(16, 32), UPB_SIZE(2, 3), &sub, arena);
99  if (!ok) return NULL;
100  return sub;
101 }
102 
104 
105 #ifdef __cplusplus
106 } /* extern "C" */
107 #endif
108 
109 #include "upb/port_undef.inc"
110 
111 #endif /* GOOGLE_API_HTTPBODY_PROTO_UPB_H_ */
_upb_array_accessor
const UPB_INLINE void * _upb_array_accessor(const void *msg, size_t ofs, size_t *size)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:1159
google_api_HttpBody_parse
UPB_INLINE google_api_HttpBody * google_api_HttpBody_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: httpbody.upb.h:36
google_protobuf_Any_msginit
const upb_MiniTable google_protobuf_Any_msginit
Definition: any.upb.c:20
google_api_HttpBody_mutable_extensions
UPB_INLINE struct google_protobuf_Any ** google_api_HttpBody_mutable_extensions(google_api_HttpBody *msg, size_t *len)
Definition: httpbody.upb.h:90
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
_upb_array_detach
UPB_INLINE void _upb_array_detach(const void *msg, size_t ofs)
Definition: msg_internal.h:485
UPB_PTR_AT
#define UPB_PTR_AT(msg, ofs, type)
Definition: php-upb.c:71
google_api_HttpBody_resize_extensions
UPB_INLINE struct google_protobuf_Any ** google_api_HttpBody_resize_extensions(google_api_HttpBody *msg, size_t len, upb_Arena *arena)
Definition: httpbody.upb.h:93
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
_upb_Message_New
upb_Message * _upb_Message_New(const upb_MiniTable *l, upb_Arena *a)
Definition: msg.c:44
google_api_HttpBody
struct google_api_HttpBody google_api_HttpBody
Definition: httpbody.upb.h:24
decode.h
google_api_HttpBody_clear_data
UPB_INLINE void google_api_HttpBody_clear_data(const google_api_HttpBody *msg)
Definition: httpbody.upb.h:68
google_api_HttpBody_extensions
UPB_INLINE const struct google_protobuf_Any *const * google_api_HttpBody_extensions(const google_api_HttpBody *msg, size_t *len)
Definition: httpbody.upb.h:80
_upb_Array_Append_accessor2
UPB_INLINE bool _upb_Array_Append_accessor2(void *msg, size_t ofs, int elem_size_lg2, const void *value, upb_Arena *arena)
Definition: msg_internal.h:525
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
google_api_HttpBody_clear_content_type
UPB_INLINE void google_api_HttpBody_clear_content_type(const google_api_HttpBody *msg)
Definition: httpbody.upb.h:62
google_api_HttpBody_set_data
UPB_INLINE void google_api_HttpBody_set_data(google_api_HttpBody *msg, upb_StringView value)
Definition: httpbody.upb.h:87
google_api_HttpBody_add_extensions
UPB_INLINE struct google_protobuf_Any * google_api_HttpBody_add_extensions(google_api_HttpBody *msg, upb_Arena *arena)
Definition: httpbody.upb.h:96
upb_MiniTable_File
Definition: msg_internal.h:208
google_api_HttpBody_has_extensions
UPB_INLINE bool google_api_HttpBody_has_extensions(const google_api_HttpBody *msg)
Definition: httpbody.upb.h:74
google_api_HttpBody_content_type
UPB_INLINE upb_StringView google_api_HttpBody_content_type(const google_api_HttpBody *msg)
Definition: httpbody.upb.h:65
google_api_HttpBody_new
UPB_INLINE google_api_HttpBody * google_api_HttpBody_new(upb_Arena *arena)
Definition: httpbody.upb.h:33
google_api_httpbody_proto_upb_file_layout
const upb_MiniTable_File google_api_httpbody_proto_upb_file_layout
Definition: httpbody.upb.c:36
decode_fast.h
msg
std::string msg
Definition: client_interceptors_end2end_test.cc:372
google_api_HttpBody_serialize
UPB_INLINE char * google_api_HttpBody_serialize(const google_api_HttpBody *msg, upb_Arena *arena, size_t *len)
Definition: httpbody.upb.h:55
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
google_api_HttpBody_serialize_ex
UPB_INLINE char * google_api_HttpBody_serialize_ex(const google_api_HttpBody *msg, int options, upb_Arena *arena, size_t *len)
Definition: httpbody.upb.h:58
google_api_HttpBody_data
UPB_INLINE upb_StringView google_api_HttpBody_data(const google_api_HttpBody *msg)
Definition: httpbody.upb.h:71
upb_StringView
Definition: upb/upb/upb.h:72
google_api_HttpBody_clear_extensions
UPB_INLINE void google_api_HttpBody_clear_extensions(const google_api_HttpBody *msg)
Definition: httpbody.upb.h:77
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
ok
bool ok
Definition: async_end2end_test.cc:197
_upb_Array_Resize_accessor2
UPB_INLINE void * _upb_Array_Resize_accessor2(void *msg, size_t ofs, size_t size, int elem_size_lg2, upb_Arena *arena)
Definition: msg_internal.h:513
_upb_has_submsg_nohasbit
UPB_INLINE bool _upb_has_submsg_nohasbit(const upb_msg *msg, size_t ofs)
Definition: php-upb.h:1326
google_api_HttpBody_set_content_type
UPB_INLINE void google_api_HttpBody_set_content_type(google_api_HttpBody *msg, upb_StringView value)
Definition: httpbody.upb.h:84
google_api_HttpBody_parse_ex
UPB_INLINE google_api_HttpBody * google_api_HttpBody_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: httpbody.upb.h:44
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
_upb_array_mutable_accessor
UPB_INLINE void * _upb_array_mutable_accessor(void *msg, size_t ofs, size_t *size)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:1171
google_api_HttpBody_msginit
const upb_MiniTable google_api_HttpBody_msginit
Definition: httpbody.upb.c:26


grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:02