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