Sha256: 0e4ec59f4bafcf53926eba97787e984935fcf475b017759b9d18a29ad7c9baad
Contents?: true
Size: 1.85 KB
Versions: 9
Compression:
Stored size: 1.85 KB
Contents
/* This file was generated by upb_generator from the input file: * * xds/annotations/v3/sensitive.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #ifndef XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_H_ #define XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_H_ #include "upb/generated_code_support.h" #include "xds/annotations/v3/sensitive.upb_minitable.h" #include "google/protobuf/descriptor.upb_minitable.h" // Must be last. #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { #endif struct google_protobuf_FieldOptions; UPB_INLINE bool xds_annotations_v3_has_sensitive(const struct google_protobuf_FieldOptions* msg) { return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_sensitive_ext); } UPB_INLINE void xds_annotations_v3_clear_sensitive(struct google_protobuf_FieldOptions* msg) { _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_sensitive_ext); } UPB_INLINE bool xds_annotations_v3_sensitive(const struct google_protobuf_FieldOptions* msg) { const upb_MiniTableExtension* ext = &xds_annotations_v3_sensitive_ext; UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_1Byte); bool default_val = false; bool ret; _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); return ret; } UPB_INLINE void xds_annotations_v3_set_sensitive(struct google_protobuf_FieldOptions* msg, bool val, upb_Arena* arena) { const upb_MiniTableExtension* ext = &xds_annotations_v3_sensitive_ext; UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_1Byte); bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); UPB_ASSERT(ok); } #ifdef __cplusplus } /* extern "C" */ #endif #include "upb/port/undef.inc" #endif /* XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_H_ */
Version data entries
9 entries across 9 versions & 1 rubygems