xds/annotations/v3/versioning.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  * xds/annotations/v3/versioning.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPB_H_
10 #define XDS_ANNOTATIONS_V3_VERSIONING_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 
29 
30 
31 
32 /* xds.annotations.v3.VersioningAnnotation */
33 
36 }
39  if (!ret) return NULL;
41  return NULL;
42  }
43  return ret;
44 }
46  const upb_ExtensionRegistry* extreg,
47  int options, upb_Arena* arena) {
49  if (!ret) return NULL;
52  return NULL;
53  }
54  return ret;
55 }
58 }
60  upb_Arena* arena, size_t* len) {
62 }
65 }
67  return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_StringView);
68 }
69 
72 }
73 
76 }
79 }
82  UPB_ASSERT(ext);
83  return *UPB_PTR_AT(&ext->data, 0, const xds_annotations_v3_VersioningAnnotation*);
84 }
86  const upb_Message_Extension* msg_ext =
88  UPB_ASSERT(msg_ext);
90 }
92 
93 #ifdef __cplusplus
94 } /* extern "C" */
95 #endif
96 
97 #include "upb/port_undef.inc"
98 
99 #endif /* XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPB_H_ */
xds_annotations_v3_VersioningAnnotation_previous_message_type
UPB_INLINE upb_StringView xds_annotations_v3_VersioningAnnotation_previous_message_type(const xds_annotations_v3_VersioningAnnotation *msg)
Definition: xds/annotations/v3/versioning.upb.h:66
_upb_Message_Getext
const upb_Message_Extension * _upb_Message_Getext(const upb_Message *msg, const upb_MiniTable_Extension *e)
Definition: msg.c:125
xds_annotations_v3_VersioningAnnotation_msginit
const upb_MiniTable xds_annotations_v3_VersioningAnnotation_msginit
Definition: xds/annotations/v3/versioning.upb.c:20
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
ext
void * ext
Definition: x509v3.h:87
xds_annotations_v3_has_versioning
UPB_INLINE bool xds_annotations_v3_has_versioning(const struct google_protobuf_MessageOptions *msg)
Definition: xds/annotations/v3/versioning.upb.h:74
options
double_dict options[]
Definition: capstone_test.c:55
buf
voidpf void * buf
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
xds_annotations_v3_clear_versioning
UPB_INLINE void xds_annotations_v3_clear_versioning(struct google_protobuf_MessageOptions *msg)
Definition: xds/annotations/v3/versioning.upb.h:77
upb_MiniTable_Extension
Definition: msg_internal.h:202
kUpb_DecodeStatus_Ok
@ kUpb_DecodeStatus_Ok
Definition: decode.h:72
xds_annotations_v3_VersioningAnnotation_serialize
UPB_INLINE char * xds_annotations_v3_VersioningAnnotation_serialize(const xds_annotations_v3_VersioningAnnotation *msg, upb_Arena *arena, size_t *len)
Definition: xds/annotations/v3/versioning.upb.h:56
_upb_Message_Getorcreateext
upb_Message_Extension * _upb_Message_Getorcreateext(upb_Message *msg, const upb_MiniTable_Extension *e, upb_Arena *arena)
Definition: msg.c:156
upb_MiniTable
Definition: msg_internal.h:185
xds_annotations_v3_VersioningAnnotation_set_previous_message_type
UPB_INLINE void xds_annotations_v3_VersioningAnnotation_set_previous_message_type(xds_annotations_v3_VersioningAnnotation *msg, upb_StringView value)
Definition: xds/annotations/v3/versioning.upb.h:70
UPB_PTR_AT
#define UPB_PTR_AT(msg, ofs, type)
Definition: php-upb.c:71
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
upb_Message_Extension::data
union upb_Message_Extension::@707 data
xds_annotations_v3_VersioningAnnotation_parse
UPB_INLINE xds_annotations_v3_VersioningAnnotation * xds_annotations_v3_VersioningAnnotation_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: xds/annotations/v3/versioning.upb.h:37
xds_annotations_v3_versioning_ext
const upb_MiniTable_Extension xds_annotations_v3_versioning_ext
Definition: xds/annotations/v3/versioning.upb.c:32
_upb_Message_New
upb_Message * _upb_Message_New(const upb_MiniTable *l, upb_Arena *a)
Definition: msg.c:44
xds_annotations_v3_VersioningAnnotation_serialize_ex
UPB_INLINE char * xds_annotations_v3_VersioningAnnotation_serialize_ex(const xds_annotations_v3_VersioningAnnotation *msg, int options, upb_Arena *arena, size_t *len)
Definition: xds/annotations/v3/versioning.upb.h:59
decode.h
xds_annotations_v3_set_versioning
UPB_INLINE void xds_annotations_v3_set_versioning(struct google_protobuf_MessageOptions *msg, const xds_annotations_v3_VersioningAnnotation *ext, upb_Arena *arena)
Definition: xds/annotations/v3/versioning.upb.h:85
xds_annotations_v3_versioning
const UPB_INLINE xds_annotations_v3_VersioningAnnotation * xds_annotations_v3_versioning(const struct google_protobuf_MessageOptions *msg)
Definition: xds/annotations/v3/versioning.upb.h:80
upb_Message_Extension
Definition: msg_internal.h:327
UPB_SIZE
#define UPB_SIZE(size32, size64)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:32
xds_annotations_v3_VersioningAnnotation
struct xds_annotations_v3_VersioningAnnotation xds_annotations_v3_VersioningAnnotation
Definition: xds/annotations/v3/versioning.upb.h:24
UPB_INLINE
#define UPB_INLINE
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:53
xds_annotations_v3_VersioningAnnotation_parse_ex
UPB_INLINE xds_annotations_v3_VersioningAnnotation * xds_annotations_v3_VersioningAnnotation_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: xds/annotations/v3/versioning.upb.h:45
xds_annotations_v3_VersioningAnnotation_clear_previous_message_type
UPB_INLINE void xds_annotations_v3_VersioningAnnotation_clear_previous_message_type(const xds_annotations_v3_VersioningAnnotation *msg)
Definition: xds/annotations/v3/versioning.upb.h:63
upb_MiniTable_File
Definition: msg_internal.h:208
UPB_ASSERT
#define UPB_ASSERT(expr)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:135
xds_annotations_v3_versioning_proto_upb_file_layout
const upb_MiniTable_File xds_annotations_v3_versioning_proto_upb_file_layout
Definition: xds/annotations/v3/versioning.upb.c:43
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_Encode
char * upb_Encode(const void *msg, const upb_MiniTable *l, int options, upb_Arena *arena, size_t *size)
Definition: encode.c:573
upb_StringView
Definition: upb/upb/upb.h:72
google_protobuf_MessageOptions_msginit
const upb_MiniTable google_protobuf_MessageOptions_msginit
Definition: descriptor.upb.c:301
xds_annotations_v3_VersioningAnnotation_new
UPB_INLINE xds_annotations_v3_VersioningAnnotation * xds_annotations_v3_VersioningAnnotation_new(upb_Arena *arena)
Definition: xds/annotations/v3/versioning.upb.h:34
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_Message_Clearext
void _upb_Message_Clearext(upb_Message *msg, const upb_MiniTable_Extension *ext_l)
Definition: msg.c:142
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
msg_internal.h
upb_Arena
Definition: upb_internal.h:36
google_protobuf_MessageOptions
struct google_protobuf_MessageOptions google_protobuf_MessageOptions
Definition: descriptor.upb.h:64
upb_ExtensionRegistry
Definition: msg.c:372


grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:52