Debian Codegraph @

src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h

raw
1 /* This file was generated by upbc (the upb compiler) from the input
2 * file:
3 *
4 * xds/annotations/v3/sensitive.proto
5 *
6 * Do not edit -- your changes will be discarded when the file is
7 * regenerated. */
8
9 #ifndef XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_H_
10 #define XDS_ANNOTATIONS_V3_SENSITIVE_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
23 extern const upb_MiniTable_Extension xds_annotations_v3_sensitive_ext;
24 struct google_protobuf_FieldOptions;
25 extern const upb_MiniTable google_protobuf_FieldOptions_msginit;
26
27
28 UPB_INLINE bool xds_annotations_v3_has_sensitive(const struct google_protobuf_FieldOptions* msg) {
29 return _upb_Message_Getext(msg, &xds_annotations_v3_sensitive_ext) != NULL;
30 }
31 UPB_INLINE void xds_annotations_v3_clear_sensitive(struct google_protobuf_FieldOptions* msg) {
32 _upb_Message_Clearext(msg, &xds_annotations_v3_sensitive_ext);
33 }
34 UPB_INLINE bool xds_annotations_v3_sensitive(const struct google_protobuf_FieldOptions* msg) {
35 const upb_Message_Extension* ext = _upb_Message_Getext(msg, &xds_annotations_v3_sensitive_ext);
36 return ext ? *UPB_PTR_AT(&ext->data, 0, bool) : false;
37 }
38 extern const upb_MiniTable_File xds_annotations_v3_sensitive_proto_upb_file_layout;
39
40 #ifdef __cplusplus
41 } /* extern "C" */
42 #endif
43
44 #include "upb/port_undef.inc"
45
46 #endif /* XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_H_ */