matcher/v3/metadata.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/metadata.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPB_H_
10 #define ENVOY_TYPE_MATCHER_V3_METADATA_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 
31 
32 
33 
34 /* envoy.type.matcher.v3.MetadataMatcher */
35 
38 }
41  if (!ret) return NULL;
43  return NULL;
44  }
45  return ret;
46 }
48  const upb_ExtensionRegistry* extreg,
49  int options, upb_Arena* arena) {
51  if (!ret) return NULL;
54  return NULL;
55  }
56  return ret;
57 }
60 }
62  upb_Arena* arena, size_t* len) {
64 }
67 }
69  return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_StringView);
70 }
72  return _upb_has_submsg_nohasbit(msg, UPB_SIZE(12, 24));
73 }
75  _upb_array_detach(msg, UPB_SIZE(12, 24));
76 }
79 }
81  return _upb_hasbit(msg, 1);
82 }
84  *UPB_PTR_AT(msg, UPB_SIZE(16, 32), const upb_Message*) = NULL;
85 }
87  return *UPB_PTR_AT(msg, UPB_SIZE(16, 32), const struct envoy_type_matcher_v3_ValueMatcher*);
88 }
90  *UPB_PTR_AT(msg, UPB_SIZE(1, 1), bool) = 0;
91 }
93  return *UPB_PTR_AT(msg, UPB_SIZE(1, 1), bool);
94 }
95 
98 }
101 }
104 }
107  bool ok = _upb_Array_Append_accessor2(msg, UPB_SIZE(12, 24), UPB_SIZE(2, 3), &sub, arena);
108  if (!ok) return NULL;
109  return sub;
110 }
112  _upb_sethas(msg, 1);
114 }
117  if (sub == NULL) {
119  if (!sub) return NULL;
121  }
122  return sub;
123 }
125  *UPB_PTR_AT(msg, UPB_SIZE(1, 1), bool) = value;
126 }
127 
128 /* envoy.type.matcher.v3.MetadataMatcher.PathSegment */
129 
132 }
135  if (!ret) return NULL;
137  return NULL;
138  }
139  return ret;
140 }
142  const upb_ExtensionRegistry* extreg,
143  int options, upb_Arena* arena) {
145  if (!ret) return NULL;
148  return NULL;
149  }
150  return ret;
151 }
154 }
156  upb_Arena* arena, size_t* len) {
158 }
159 typedef enum {
165 }
167  return _upb_getoneofcase(msg, UPB_SIZE(0, 0)) == 1;
168 }
171 }
174 }
175 
178 }
179 
181 
182 #ifdef __cplusplus
183 } /* extern "C" */
184 #endif
185 
186 #include "upb/port_undef.inc"
187 
188 #endif /* ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPB_H_ */
envoy_type_matcher_v3_MetadataMatcher_add_path
UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher_PathSegment * envoy_type_matcher_v3_MetadataMatcher_add_path(envoy_type_matcher_v3_MetadataMatcher *msg, upb_Arena *arena)
Definition: matcher/v3/metadata.upb.h:105
envoy_type_matcher_v3_MetadataMatcher_msginit
const upb_MiniTable envoy_type_matcher_v3_MetadataMatcher_msginit
Definition: matcher/v3/metadata.upb.c:31
envoy_type_matcher_v3_MetadataMatcher_resize_path
UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment ** envoy_type_matcher_v3_MetadataMatcher_resize_path(envoy_type_matcher_v3_MetadataMatcher *msg, size_t len, upb_Arena *arena)
Definition: matcher/v3/metadata.upb.h:102
envoy_type_matcher_v3_MetadataMatcher_invert
UPB_INLINE bool envoy_type_matcher_v3_MetadataMatcher_invert(const envoy_type_matcher_v3_MetadataMatcher *msg)
Definition: matcher/v3/metadata.upb.h:92
_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_MetadataMatcher_clear_invert
UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_clear_invert(const envoy_type_matcher_v3_MetadataMatcher *msg)
Definition: matcher/v3/metadata.upb.h:89
envoy_type_matcher_v3_metadata_proto_upb_file_layout
const upb_MiniTable_File envoy_type_matcher_v3_metadata_proto_upb_file_layout
Definition: matcher/v3/metadata.upb.c:52
encode.h
envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_NOT_SET
@ envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_NOT_SET
Definition: matcher/v3/metadata.upb.h:161
envoy_type_matcher_v3_MetadataMatcher_PathSegment_new
UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment * envoy_type_matcher_v3_MetadataMatcher_PathSegment_new(upb_Arena *arena)
Definition: matcher/v3/metadata.upb.h:130
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
envoy_type_matcher_v3_MetadataMatcher_new
UPB_INLINE envoy_type_matcher_v3_MetadataMatcher * envoy_type_matcher_v3_MetadataMatcher_new(upb_Arena *arena)
Definition: matcher/v3/metadata.upb.h:36
buf
voidpf void * buf
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
envoy_type_matcher_v3_MetadataMatcher_path
const UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment *const * envoy_type_matcher_v3_MetadataMatcher_path(const envoy_type_matcher_v3_MetadataMatcher *msg, size_t *len)
Definition: matcher/v3/metadata.upb.h:77
envoy_type_matcher_v3_MetadataMatcher_clear_value
UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_clear_value(const envoy_type_matcher_v3_MetadataMatcher *msg)
Definition: matcher/v3/metadata.upb.h:83
kUpb_DecodeStatus_Ok
@ kUpb_DecodeStatus_Ok
Definition: decode.h:72
envoy_type_matcher_v3_MetadataMatcher_PathSegment_msginit
const upb_MiniTable envoy_type_matcher_v3_MetadataMatcher_PathSegment_msginit
Definition: matcher/v3/metadata.upb.c:41
envoy_type_matcher_v3_MetadataMatcher_mutable_path
UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment ** envoy_type_matcher_v3_MetadataMatcher_mutable_path(envoy_type_matcher_v3_MetadataMatcher *msg, size_t *len)
Definition: matcher/v3/metadata.upb.h:99
_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_MetadataMatcher_PathSegment_segment_oneofcases
envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_oneofcases
Definition: matcher/v3/metadata.upb.h:159
upb_MiniTable
Definition: msg_internal.h:185
envoy_type_matcher_v3_MetadataMatcher_filter
UPB_INLINE upb_StringView envoy_type_matcher_v3_MetadataMatcher_filter(const envoy_type_matcher_v3_MetadataMatcher *msg)
Definition: matcher/v3/metadata.upb.h:68
envoy_type_matcher_v3_MetadataMatcher_set_filter
UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_set_filter(envoy_type_matcher_v3_MetadataMatcher *msg, upb_StringView value)
Definition: matcher/v3/metadata.upb.h:96
envoy_type_matcher_v3_MetadataMatcher_PathSegment_set_key
UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_PathSegment_set_key(envoy_type_matcher_v3_MetadataMatcher_PathSegment *msg, upb_StringView value)
Definition: matcher/v3/metadata.upb.h:176
envoy_type_matcher_v3_MetadataMatcher_PathSegment
struct envoy_type_matcher_v3_MetadataMatcher_PathSegment envoy_type_matcher_v3_MetadataMatcher_PathSegment
Definition: matcher/v3/metadata.upb.h:26
_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_MetadataMatcher_PathSegment_serialize
UPB_INLINE char * envoy_type_matcher_v3_MetadataMatcher_PathSegment_serialize(const envoy_type_matcher_v3_MetadataMatcher_PathSegment *msg, upb_Arena *arena, size_t *len)
Definition: matcher/v3/metadata.upb.h:152
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
envoy_type_matcher_v3_MetadataMatcher
struct envoy_type_matcher_v3_MetadataMatcher envoy_type_matcher_v3_MetadataMatcher
Definition: matcher/v3/metadata.upb.h:25
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
envoy_type_matcher_v3_MetadataMatcher_has_path
UPB_INLINE bool envoy_type_matcher_v3_MetadataMatcher_has_path(const envoy_type_matcher_v3_MetadataMatcher *msg)
Definition: matcher/v3/metadata.upb.h:71
envoy_type_matcher_v3_MetadataMatcher_PathSegment_clear_key
UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_PathSegment_clear_key(const envoy_type_matcher_v3_MetadataMatcher_PathSegment *msg)
Definition: matcher/v3/metadata.upb.h:169
envoy_type_matcher_v3_MetadataMatcher_PathSegment_parse_ex
UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment * envoy_type_matcher_v3_MetadataMatcher_PathSegment_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: matcher/v3/metadata.upb.h:141
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
envoy_type_matcher_v3_MetadataMatcher_parse_ex
UPB_INLINE envoy_type_matcher_v3_MetadataMatcher * envoy_type_matcher_v3_MetadataMatcher_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: matcher/v3/metadata.upb.h:47
envoy_type_matcher_v3_ValueMatcher
struct envoy_type_matcher_v3_ValueMatcher envoy_type_matcher_v3_ValueMatcher
Definition: value.upb.h:26
envoy_type_matcher_v3_MetadataMatcher_PathSegment_serialize_ex
UPB_INLINE char * envoy_type_matcher_v3_MetadataMatcher_PathSegment_serialize_ex(const envoy_type_matcher_v3_MetadataMatcher_PathSegment *msg, int options, upb_Arena *arena, size_t *len)
Definition: matcher/v3/metadata.upb.h:155
upb_MiniTable_File
Definition: msg_internal.h:208
envoy_type_matcher_v3_MetadataMatcher_PathSegment_key
UPB_INLINE upb_StringView envoy_type_matcher_v3_MetadataMatcher_PathSegment_key(const envoy_type_matcher_v3_MetadataMatcher_PathSegment *msg)
Definition: matcher/v3/metadata.upb.h:172
upb_Message
void upb_Message
Definition: msg.h:49
envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_key
@ envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_key
Definition: matcher/v3/metadata.upb.h:160
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_getoneofcase
UPB_INLINE uint32_t _upb_getoneofcase(const void *msg, size_t case_ofs)
Definition: php-upb.h:1307
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_MetadataMatcher_clear_path
UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_clear_path(const envoy_type_matcher_v3_MetadataMatcher *msg)
Definition: matcher/v3/metadata.upb.h:74
envoy_type_matcher_v3_MetadataMatcher_PathSegment_has_key
UPB_INLINE bool envoy_type_matcher_v3_MetadataMatcher_PathSegment_has_key(const envoy_type_matcher_v3_MetadataMatcher_PathSegment *msg)
Definition: matcher/v3/metadata.upb.h:166
upb_StringView
Definition: upb/upb/upb.h:72
envoy_type_matcher_v3_MetadataMatcher_set_invert
UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_set_invert(envoy_type_matcher_v3_MetadataMatcher *msg, bool value)
Definition: matcher/v3/metadata.upb.h:124
UPB_READ_ONEOF
#define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:38
envoy_type_matcher_v3_MetadataMatcher_serialize
UPB_INLINE char * envoy_type_matcher_v3_MetadataMatcher_serialize(const envoy_type_matcher_v3_MetadataMatcher *msg, upb_Arena *arena, size_t *len)
Definition: matcher/v3/metadata.upb.h:58
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
UPB_WRITE_ONEOF
#define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:43
envoy_type_matcher_v3_MetadataMatcher_clear_filter
UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_clear_filter(const envoy_type_matcher_v3_MetadataMatcher *msg)
Definition: matcher/v3/metadata.upb.h:65
ok
bool ok
Definition: async_end2end_test.cc:197
envoy_type_matcher_v3_MetadataMatcher_value
UPB_INLINE const struct envoy_type_matcher_v3_ValueMatcher * envoy_type_matcher_v3_MetadataMatcher_value(const envoy_type_matcher_v3_MetadataMatcher *msg)
Definition: matcher/v3/metadata.upb.h:86
envoy_type_matcher_v3_MetadataMatcher_has_value
UPB_INLINE bool envoy_type_matcher_v3_MetadataMatcher_has_value(const envoy_type_matcher_v3_MetadataMatcher *msg)
Definition: matcher/v3/metadata.upb.h:80
upb_StringView_FromString
UPB_INLINE upb_StringView upb_StringView_FromString(const char *data)
Definition: upb/upb/upb.h:85
envoy_type_matcher_v3_MetadataMatcher_set_value
UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_set_value(envoy_type_matcher_v3_MetadataMatcher *msg, struct envoy_type_matcher_v3_ValueMatcher *value)
Definition: matcher/v3/metadata.upb.h:111
_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_MetadataMatcher_serialize_ex
UPB_INLINE char * envoy_type_matcher_v3_MetadataMatcher_serialize_ex(const envoy_type_matcher_v3_MetadataMatcher *msg, int options, upb_Arena *arena, size_t *len)
Definition: matcher/v3/metadata.upb.h:61
_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_MetadataMatcher_PathSegment_parse
UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment * envoy_type_matcher_v3_MetadataMatcher_PathSegment_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: matcher/v3/metadata.upb.h:133
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_MetadataMatcher_parse
UPB_INLINE envoy_type_matcher_v3_MetadataMatcher * envoy_type_matcher_v3_MetadataMatcher_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: matcher/v3/metadata.upb.h:39
int32_t
signed int int32_t
Definition: stdint-msvc2008.h:77
envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_case
UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_oneofcases envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_case(const envoy_type_matcher_v3_MetadataMatcher_PathSegment *msg)
Definition: matcher/v3/metadata.upb.h:163
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_MetadataMatcher_mutable_value
UPB_INLINE struct envoy_type_matcher_v3_ValueMatcher * envoy_type_matcher_v3_MetadataMatcher_mutable_value(envoy_type_matcher_v3_MetadataMatcher *msg, upb_Arena *arena)
Definition: matcher/v3/metadata.upb.h:115
envoy_type_matcher_v3_ValueMatcher_msginit
const upb_MiniTable envoy_type_matcher_v3_ValueMatcher_msginit
Definition: value.upb.c:36


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