9 #ifndef ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_
10 #define ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_
13 #include "upb/decode.h"
14 #include "upb/decode_fast.h"
15 #include "upb/encode.h"
17 #include "upb/port_def.inc"
47 upb_arena *
arena,
int options) {
73 if (!sub)
return NULL;
79 *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_strview) = value;
93 upb_arena *
arena,
int options) {
113 if (!sub)
return NULL;
130 upb_arena *
arena,
int options) {
151 if (!sub)
return NULL;
157 *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview) = value;
164 #include "upb/port_undef.inc"
UPB_INLINE envoy_type_matcher_v3_RegexMatchAndSubstitute * envoy_type_matcher_v3_RegexMatchAndSubstitute_new(upb_arena *arena)
Definition: regex.upb.h:121
UPB_INLINE struct envoy_type_matcher_v3_RegexMatcher_GoogleRE2 * envoy_type_matcher_v3_RegexMatcher_mutable_google_re2(envoy_type_matcher_v3_RegexMatcher *msg, upb_arena *arena)
Definition: regex.upb.h:69
UPB_INLINE envoy_type_matcher_v3_RegexMatcher_GoogleRE2 * envoy_type_matcher_v3_RegexMatcher_GoogleRE2_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: regex.upb.h:92
UPB_INLINE envoy_type_matcher_v3_RegexMatcher_GoogleRE2 * envoy_type_matcher_v3_RegexMatcher_GoogleRE2_new(upb_arena *arena)
Definition: regex.upb.h:84
UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_set_google_re2(envoy_type_matcher_v3_RegexMatcher *msg, envoy_type_matcher_v3_RegexMatcher_GoogleRE2 *value)
Definition: regex.upb.h:66
UPB_INLINE const envoy_type_matcher_v3_RegexMatcher_GoogleRE2 * envoy_type_matcher_v3_RegexMatcher_google_re2(const envoy_type_matcher_v3_RegexMatcher *msg)
Definition: regex.upb.h:63
UPB_INLINE bool envoy_type_matcher_v3_RegexMatcher_has_google_re2(const envoy_type_matcher_v3_RegexMatcher *msg)
Definition: regex.upb.h:62
UPB_INLINE struct envoy_type_matcher_v3_RegexMatcher * envoy_type_matcher_v3_RegexMatchAndSubstitute_mutable_pattern(envoy_type_matcher_v3_RegexMatchAndSubstitute *msg, upb_arena *arena)
Definition: regex.upb.h:147
UPB_INLINE envoy_type_matcher_v3_RegexMatchAndSubstitute * envoy_type_matcher_v3_RegexMatchAndSubstitute_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: regex.upb.h:129
UPB_INLINE upb_strview envoy_type_matcher_v3_RegexMatchAndSubstitute_substitution(const envoy_type_matcher_v3_RegexMatchAndSubstitute *msg)
Definition: regex.upb.h:141
UPB_INLINE char * envoy_type_matcher_v3_RegexMatcher_GoogleRE2_serialize(const envoy_type_matcher_v3_RegexMatcher_GoogleRE2 *msg, upb_arena *arena, size_t *len)
Definition: regex.upb.h:98
UPB_INLINE struct google_protobuf_UInt32Value * envoy_type_matcher_v3_RegexMatcher_GoogleRE2_mutable_max_program_size(envoy_type_matcher_v3_RegexMatcher_GoogleRE2 *msg, upb_arena *arena)
Definition: regex.upb.h:109
UPB_INLINE bool envoy_type_matcher_v3_RegexMatcher_GoogleRE2_has_max_program_size(const envoy_type_matcher_v3_RegexMatcher_GoogleRE2 *msg)
Definition: regex.upb.h:102
UPB_INLINE envoy_type_matcher_v3_RegexMatcher * envoy_type_matcher_v3_RegexMatcher_parse(const char *buf, size_t size, upb_arena *arena)
Definition: regex.upb.h:41
const upb_msglayout google_protobuf_UInt32Value_msginit
Definition: wrappers.upb.c:69
UPB_INLINE bool envoy_type_matcher_v3_RegexMatchAndSubstitute_has_pattern(const envoy_type_matcher_v3_RegexMatchAndSubstitute *msg)
Definition: regex.upb.h:139
UPB_INLINE void envoy_type_matcher_v3_RegexMatchAndSubstitute_set_substitution(envoy_type_matcher_v3_RegexMatchAndSubstitute *msg, upb_strview value)
Definition: regex.upb.h:156
UPB_INLINE char * envoy_type_matcher_v3_RegexMatchAndSubstitute_serialize(const envoy_type_matcher_v3_RegexMatchAndSubstitute *msg, upb_arena *arena, size_t *len)
Definition: regex.upb.h:135
UPB_INLINE upb_strview envoy_type_matcher_v3_RegexMatcher_regex(const envoy_type_matcher_v3_RegexMatcher *msg)
Definition: regex.upb.h:64
UPB_INLINE envoy_type_matcher_v3_RegexMatcher_engine_type_oneofcases envoy_type_matcher_v3_RegexMatcher_engine_type_case(const envoy_type_matcher_v3_RegexMatcher *msg)
Definition: regex.upb.h:60
UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_set_regex(envoy_type_matcher_v3_RegexMatcher *msg, upb_strview value)
Definition: regex.upb.h:78
UPB_INLINE envoy_type_matcher_v3_RegexMatchAndSubstitute * envoy_type_matcher_v3_RegexMatchAndSubstitute_parse(const char *buf, size_t size, upb_arena *arena)
Definition: regex.upb.h:124
struct envoy_type_matcher_v3_RegexMatcher envoy_type_matcher_v3_RegexMatcher
Definition: regex.upb.h:26
UPB_INLINE void envoy_type_matcher_v3_RegexMatchAndSubstitute_set_pattern(envoy_type_matcher_v3_RegexMatchAndSubstitute *msg, envoy_type_matcher_v3_RegexMatcher *value)
Definition: regex.upb.h:143
envoy_type_matcher_v3_RegexMatcher_engine_type_oneofcases
Definition: regex.upb.h:56
@ envoy_type_matcher_v3_RegexMatcher_engine_type_google_re2
Definition: regex.upb.h:57
@ envoy_type_matcher_v3_RegexMatcher_engine_type_NOT_SET
Definition: regex.upb.h:58
UPB_INLINE const envoy_type_matcher_v3_RegexMatcher * envoy_type_matcher_v3_RegexMatchAndSubstitute_pattern(const envoy_type_matcher_v3_RegexMatchAndSubstitute *msg)
Definition: regex.upb.h:140
const upb_msglayout envoy_type_matcher_v3_RegexMatcher_GoogleRE2_msginit
Definition: regex.upb.c:42
UPB_INLINE char * envoy_type_matcher_v3_RegexMatcher_serialize(const envoy_type_matcher_v3_RegexMatcher *msg, upb_arena *arena, size_t *len)
Definition: regex.upb.h:52
UPB_INLINE envoy_type_matcher_v3_RegexMatcher * envoy_type_matcher_v3_RegexMatcher_new(upb_arena *arena)
Definition: regex.upb.h:38
UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_GoogleRE2_set_max_program_size(envoy_type_matcher_v3_RegexMatcher_GoogleRE2 *msg, struct google_protobuf_UInt32Value *value)
Definition: regex.upb.h:105
struct envoy_type_matcher_v3_RegexMatcher_GoogleRE2 envoy_type_matcher_v3_RegexMatcher_GoogleRE2
Definition: regex.upb.h:27
const upb_msglayout envoy_type_matcher_v3_RegexMatchAndSubstitute_msginit
Definition: regex.upb.c:57
const upb_msglayout envoy_type_matcher_v3_RegexMatcher_msginit
Definition: regex.upb.c:28
struct envoy_type_matcher_v3_RegexMatchAndSubstitute envoy_type_matcher_v3_RegexMatchAndSubstitute
Definition: regex.upb.h:28
UPB_INLINE envoy_type_matcher_v3_RegexMatcher * envoy_type_matcher_v3_RegexMatcher_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: regex.upb.h:46
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_type_matcher_v3_RegexMatcher_GoogleRE2_max_program_size(const envoy_type_matcher_v3_RegexMatcher_GoogleRE2 *msg)
Definition: regex.upb.h:103
UPB_INLINE envoy_type_matcher_v3_RegexMatcher_GoogleRE2 * envoy_type_matcher_v3_RegexMatcher_GoogleRE2_parse(const char *buf, size_t size, upb_arena *arena)
Definition: regex.upb.h:87
struct google_protobuf_UInt32Value google_protobuf_UInt32Value
Definition: wrappers.upb.h:37
upb_arena * arena
Definition: xds_api.cc:909