9 #ifndef ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPB_H_
10 #define ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_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"
45 upb_arena *
arena,
int options) {
74 UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(16, 32), value, UPB_SIZE(24, 48), 1);
83 if (!sub)
return NULL;
89 *UPB_PTR_AT(msg, UPB_SIZE(0, 0),
bool) = value;
92 *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview) = value;
101 if (!sub)
return NULL;
114 bool ok = _upb_array_append_accessor2(
115 msg, UPB_SIZE(12, 24), UPB_SIZE(2, 3), &sub,
arena);
116 if (!ok)
return NULL;
124 #include "upb/port_undef.inc"
struct envoy_config_core_v3_DataSource envoy_config_core_v3_DataSource
Definition: base.upb.h:58
struct envoy_config_core_v3_TypedExtensionConfig envoy_config_core_v3_TypedExtensionConfig
Definition: extension.upb.h:25
struct google_protobuf_Struct google_protobuf_Struct
Definition: struct.upb.h:27
upb_arena * arena
Definition: xds_api.cc:909