node.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  * envoy/type/matcher/v3/node.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_TYPE_MATCHER_V3_NODE_PROTO_UPB_H_
10 #define ENVOY_TYPE_MATCHER_V3_NODE_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 
30 
31 
32 
33 /* envoy.type.matcher.v3.NodeMatcher */
34 
37 }
40  if (!ret) return NULL;
42  return NULL;
43  }
44  return ret;
45 }
47  const upb_ExtensionRegistry* extreg,
48  int options, upb_Arena* arena) {
50  if (!ret) return NULL;
53  return NULL;
54  }
55  return ret;
56 }
59 }
61  upb_Arena* arena, size_t* len) {
63 }
65  return _upb_hasbit(msg, 1);
66 }
68  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
69 }
71  return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), const struct envoy_type_matcher_v3_StringMatcher*);
72 }
74  return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16));
75 }
78 }
80  return (const struct envoy_type_matcher_v3_StructMatcher* const*)_upb_array_accessor(msg, UPB_SIZE(8, 16), len);
81 }
82 
84  _upb_sethas(msg, 1);
86 }
89  if (sub == NULL) {
91  if (!sub) return NULL;
93  }
94  return sub;
95 }
98 }
101 }
104  bool ok = _upb_Array_Append_accessor2(msg, UPB_SIZE(8, 16), UPB_SIZE(2, 3), &sub, arena);
105  if (!ok) return NULL;
106  return sub;
107 }
108 
110 
111 #ifdef __cplusplus
112 } /* extern "C" */
113 #endif
114 
115 #include "upb/port_undef.inc"
116 
117 #endif /* ENVOY_TYPE_MATCHER_V3_NODE_PROTO_UPB_H_ */
envoy_type_matcher_v3_NodeMatcher_parse_ex
UPB_INLINE envoy_type_matcher_v3_NodeMatcher * envoy_type_matcher_v3_NodeMatcher_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: node.upb.h:46
envoy_type_matcher_v3_StructMatcher
struct envoy_type_matcher_v3_StructMatcher envoy_type_matcher_v3_StructMatcher
Definition: envoy/type/matcher/v3/struct.upb.h:25
envoy_type_matcher_v3_StringMatcher
struct envoy_type_matcher_v3_StringMatcher envoy_type_matcher_v3_StringMatcher
Definition: envoy/type/matcher/v3/string.upb.h:25
envoy_type_matcher_v3_NodeMatcher_clear_node_id
UPB_INLINE void envoy_type_matcher_v3_NodeMatcher_clear_node_id(const envoy_type_matcher_v3_NodeMatcher *msg)
Definition: node.upb.h:67
envoy_type_matcher_v3_NodeMatcher_clear_node_metadatas
UPB_INLINE void envoy_type_matcher_v3_NodeMatcher_clear_node_metadatas(const envoy_type_matcher_v3_NodeMatcher *msg)
Definition: node.upb.h:76
_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
envoy_type_matcher_v3_NodeMatcher_set_node_id
UPB_INLINE void envoy_type_matcher_v3_NodeMatcher_set_node_id(envoy_type_matcher_v3_NodeMatcher *msg, struct envoy_type_matcher_v3_StringMatcher *value)
Definition: node.upb.h:83
envoy_type_matcher_v3_node_proto_upb_file_layout
const upb_MiniTable_File envoy_type_matcher_v3_node_proto_upb_file_layout
Definition: node.upb.c:39
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_sethas
UPB_INLINE bool _upb_sethas(const void *msg, size_t idx)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:1232
envoy_type_matcher_v3_StructMatcher_msginit
const upb_MiniTable envoy_type_matcher_v3_StructMatcher_msginit
Definition: envoy/type/matcher/v3/struct.upb.c:29
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
envoy_type_matcher_v3_NodeMatcher_node_metadatas
UPB_INLINE const struct envoy_type_matcher_v3_StructMatcher *const * envoy_type_matcher_v3_NodeMatcher_node_metadatas(const envoy_type_matcher_v3_NodeMatcher *msg, size_t *len)
Definition: node.upb.h:79
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
envoy_type_matcher_v3_NodeMatcher_mutable_node_id
UPB_INLINE struct envoy_type_matcher_v3_StringMatcher * envoy_type_matcher_v3_NodeMatcher_mutable_node_id(envoy_type_matcher_v3_NodeMatcher *msg, upb_Arena *arena)
Definition: node.upb.h:87
envoy_type_matcher_v3_StringMatcher_msginit
const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msginit
Definition: envoy/type/matcher/v3/string.upb.c:32
_upb_Message_New
upb_Message * _upb_Message_New(const upb_MiniTable *l, upb_Arena *a)
Definition: msg.c:44
decode.h
_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
upb_MiniTable_File
Definition: msg_internal.h:208
envoy_type_matcher_v3_NodeMatcher_resize_node_metadatas
UPB_INLINE struct envoy_type_matcher_v3_StructMatcher ** envoy_type_matcher_v3_NodeMatcher_resize_node_metadatas(envoy_type_matcher_v3_NodeMatcher *msg, size_t len, upb_Arena *arena)
Definition: node.upb.h:99
upb_Message
void upb_Message
Definition: msg.h:49
decode_fast.h
msg
std::string msg
Definition: client_interceptors_end2end_test.cc:372
envoy_type_matcher_v3_NodeMatcher
struct envoy_type_matcher_v3_NodeMatcher envoy_type_matcher_v3_NodeMatcher
Definition: node.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
_upb_hasbit
UPB_INLINE bool _upb_hasbit(const upb_msg *msg, size_t idx)
Definition: php-upb.h:1269
envoy_type_matcher_v3_NodeMatcher_add_node_metadatas
UPB_INLINE struct envoy_type_matcher_v3_StructMatcher * envoy_type_matcher_v3_NodeMatcher_add_node_metadatas(envoy_type_matcher_v3_NodeMatcher *msg, upb_Arena *arena)
Definition: node.upb.h:102
ret
UniquePtr< SSL_SESSION > ret
Definition: ssl_x509.cc:1029
envoy_type_matcher_v3_NodeMatcher_serialize
UPB_INLINE char * envoy_type_matcher_v3_NodeMatcher_serialize(const envoy_type_matcher_v3_NodeMatcher *msg, upb_Arena *arena, size_t *len)
Definition: node.upb.h:57
ok
bool ok
Definition: async_end2end_test.cc:197
envoy_type_matcher_v3_NodeMatcher_new
UPB_INLINE envoy_type_matcher_v3_NodeMatcher * envoy_type_matcher_v3_NodeMatcher_new(upb_Arena *arena)
Definition: node.upb.h:35
_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
envoy_type_matcher_v3_NodeMatcher_has_node_id
UPB_INLINE bool envoy_type_matcher_v3_NodeMatcher_has_node_id(const envoy_type_matcher_v3_NodeMatcher *msg)
Definition: node.upb.h:64
_upb_has_submsg_nohasbit
UPB_INLINE bool _upb_has_submsg_nohasbit(const upb_msg *msg, size_t ofs)
Definition: php-upb.h:1326
envoy_type_matcher_v3_NodeMatcher_msginit
const upb_MiniTable envoy_type_matcher_v3_NodeMatcher_msginit
Definition: node.upb.c:29
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
envoy_type_matcher_v3_NodeMatcher_mutable_node_metadatas
UPB_INLINE struct envoy_type_matcher_v3_StructMatcher ** envoy_type_matcher_v3_NodeMatcher_mutable_node_metadatas(envoy_type_matcher_v3_NodeMatcher *msg, size_t *len)
Definition: node.upb.h:96
envoy_type_matcher_v3_NodeMatcher_parse
UPB_INLINE envoy_type_matcher_v3_NodeMatcher * envoy_type_matcher_v3_NodeMatcher_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: node.upb.h:38
envoy_type_matcher_v3_NodeMatcher_serialize_ex
UPB_INLINE char * envoy_type_matcher_v3_NodeMatcher_serialize_ex(const envoy_type_matcher_v3_NodeMatcher *msg, int options, upb_Arena *arena, size_t *len)
Definition: node.upb.h:60
envoy_type_matcher_v3_NodeMatcher_node_id
UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher * envoy_type_matcher_v3_NodeMatcher_node_id(const envoy_type_matcher_v3_NodeMatcher *msg)
Definition: node.upb.h:70
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
envoy_type_matcher_v3_NodeMatcher_has_node_metadatas
UPB_INLINE bool envoy_type_matcher_v3_NodeMatcher_has_node_metadatas(const envoy_type_matcher_v3_NodeMatcher *msg)
Definition: node.upb.h:73


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:42