9 #ifndef XDS_CORE_V3_COLLECTION_ENTRY_PROTO_UPB_H_
10 #define XDS_CORE_V3_COLLECTION_ENTRY_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"
46 upb_arena *
arena,
int options) {
74 if (!sub)
return NULL;
86 if (!sub)
return NULL;
103 upb_arena *
arena,
int options) {
118 *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview) = value;
121 *UPB_PTR_AT(msg, UPB_SIZE(12, 24), upb_strview) = value;
131 if (!sub)
return NULL;
141 #include "upb/port_undef.inc"
struct google_protobuf_Any google_protobuf_Any
Definition: any.upb.h:24
const upb_msglayout xds_core_v3_ResourceLocator_msginit
Definition: resource_locator.upb.c:32
UPB_INLINE bool xds_core_v3_CollectionEntry_InlineEntry_has_resource(const xds_core_v3_CollectionEntry_InlineEntry *msg)
Definition: collection_entry.upb.h:114
UPB_INLINE xds_core_v3_CollectionEntry_InlineEntry * xds_core_v3_CollectionEntry_InlineEntry_parse(const char *buf, size_t size, upb_arena *arena)
Definition: collection_entry.upb.h:97
UPB_INLINE struct xds_core_v3_ResourceLocator * xds_core_v3_CollectionEntry_mutable_locator(xds_core_v3_CollectionEntry *msg, upb_arena *arena)
Definition: collection_entry.upb.h:70
UPB_INLINE bool xds_core_v3_CollectionEntry_has_inline_entry(const xds_core_v3_CollectionEntry *msg)
Definition: collection_entry.upb.h:64
UPB_INLINE const xds_core_v3_CollectionEntry_InlineEntry * xds_core_v3_CollectionEntry_inline_entry(const xds_core_v3_CollectionEntry *msg)
Definition: collection_entry.upb.h:65
UPB_INLINE void xds_core_v3_CollectionEntry_set_locator(xds_core_v3_CollectionEntry *msg, struct xds_core_v3_ResourceLocator *value)
Definition: collection_entry.upb.h:67
const upb_msglayout xds_core_v3_CollectionEntry_msginit
Definition: collection_entry.upb.c:29
const upb_msglayout xds_core_v3_CollectionEntry_InlineEntry_msginit
Definition: collection_entry.upb.c:45
UPB_INLINE char * xds_core_v3_CollectionEntry_InlineEntry_serialize(const xds_core_v3_CollectionEntry_InlineEntry *msg, upb_arena *arena, size_t *len)
Definition: collection_entry.upb.h:108
UPB_INLINE xds_core_v3_CollectionEntry_InlineEntry * xds_core_v3_CollectionEntry_InlineEntry_new(upb_arena *arena)
Definition: collection_entry.upb.h:94
struct xds_core_v3_CollectionEntry_InlineEntry xds_core_v3_CollectionEntry_InlineEntry
Definition: collection_entry.upb.h:26
UPB_INLINE xds_core_v3_CollectionEntry * xds_core_v3_CollectionEntry_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: collection_entry.upb.h:45
xds_core_v3_CollectionEntry_resource_specifier_oneofcases
Definition: collection_entry.upb.h:55
@ xds_core_v3_CollectionEntry_resource_specifier_NOT_SET
Definition: collection_entry.upb.h:58
@ xds_core_v3_CollectionEntry_resource_specifier_inline_entry
Definition: collection_entry.upb.h:57
@ xds_core_v3_CollectionEntry_resource_specifier_locator
Definition: collection_entry.upb.h:56
UPB_INLINE void xds_core_v3_CollectionEntry_InlineEntry_set_resource(xds_core_v3_CollectionEntry_InlineEntry *msg, struct google_protobuf_Any *value)
Definition: collection_entry.upb.h:123
UPB_INLINE char * xds_core_v3_CollectionEntry_serialize(const xds_core_v3_CollectionEntry *msg, upb_arena *arena, size_t *len)
Definition: collection_entry.upb.h:51
struct xds_core_v3_CollectionEntry xds_core_v3_CollectionEntry
Definition: collection_entry.upb.h:25
UPB_INLINE struct xds_core_v3_CollectionEntry_InlineEntry * xds_core_v3_CollectionEntry_mutable_inline_entry(xds_core_v3_CollectionEntry *msg, upb_arena *arena)
Definition: collection_entry.upb.h:82
UPB_INLINE xds_core_v3_CollectionEntry * xds_core_v3_CollectionEntry_new(upb_arena *arena)
Definition: collection_entry.upb.h:37
UPB_INLINE struct google_protobuf_Any * xds_core_v3_CollectionEntry_InlineEntry_mutable_resource(xds_core_v3_CollectionEntry_InlineEntry *msg, upb_arena *arena)
Definition: collection_entry.upb.h:127
UPB_INLINE xds_core_v3_CollectionEntry_resource_specifier_oneofcases xds_core_v3_CollectionEntry_resource_specifier_case(const xds_core_v3_CollectionEntry *msg)
Definition: collection_entry.upb.h:60
UPB_INLINE const struct google_protobuf_Any * xds_core_v3_CollectionEntry_InlineEntry_resource(const xds_core_v3_CollectionEntry_InlineEntry *msg)
Definition: collection_entry.upb.h:115
UPB_INLINE void xds_core_v3_CollectionEntry_set_inline_entry(xds_core_v3_CollectionEntry *msg, xds_core_v3_CollectionEntry_InlineEntry *value)
Definition: collection_entry.upb.h:79
UPB_INLINE void xds_core_v3_CollectionEntry_InlineEntry_set_version(xds_core_v3_CollectionEntry_InlineEntry *msg, upb_strview value)
Definition: collection_entry.upb.h:120
UPB_INLINE upb_strview xds_core_v3_CollectionEntry_InlineEntry_name(const xds_core_v3_CollectionEntry_InlineEntry *msg)
Definition: collection_entry.upb.h:112
UPB_INLINE upb_strview xds_core_v3_CollectionEntry_InlineEntry_version(const xds_core_v3_CollectionEntry_InlineEntry *msg)
Definition: collection_entry.upb.h:113
UPB_INLINE xds_core_v3_CollectionEntry * xds_core_v3_CollectionEntry_parse(const char *buf, size_t size, upb_arena *arena)
Definition: collection_entry.upb.h:40
UPB_INLINE xds_core_v3_CollectionEntry_InlineEntry * xds_core_v3_CollectionEntry_InlineEntry_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: collection_entry.upb.h:102
UPB_INLINE bool xds_core_v3_CollectionEntry_has_locator(const xds_core_v3_CollectionEntry *msg)
Definition: collection_entry.upb.h:62
UPB_INLINE void xds_core_v3_CollectionEntry_InlineEntry_set_name(xds_core_v3_CollectionEntry_InlineEntry *msg, upb_strview value)
Definition: collection_entry.upb.h:117
const upb_msglayout google_protobuf_Any_msginit
Definition: any.upb.c:20
UPB_INLINE const struct xds_core_v3_ResourceLocator * xds_core_v3_CollectionEntry_locator(const xds_core_v3_CollectionEntry *msg)
Definition: collection_entry.upb.h:63
struct xds_core_v3_ResourceLocator xds_core_v3_ResourceLocator
Definition: resource_locator.upb.h:25
upb_arena * arena
Definition: xds_api.cc:909