xds/annotations/v3/security.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/security.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPB_H_
10 #define XDS_ANNOTATIONS_V3_SECURITY_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.FieldSecurityAnnotation */
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 }
64  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), bool) = 0;
65 }
67  return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), bool);
68 }
70  *UPB_PTR_AT(msg, UPB_SIZE(1, 1), bool) = 0;
71 }
73  return *UPB_PTR_AT(msg, UPB_SIZE(1, 1), bool);
74 }
75 
77  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), bool) = value;
78 }
80  *UPB_PTR_AT(msg, UPB_SIZE(1, 1), bool) = value;
81 }
82 
85 }
88 }
91  UPB_ASSERT(ext);
93 }
95  const upb_Message_Extension* msg_ext =
97  UPB_ASSERT(msg_ext);
99 }
101 
102 #ifdef __cplusplus
103 } /* extern "C" */
104 #endif
105 
106 #include "upb/port_undef.inc"
107 
108 #endif /* XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPB_H_ */
xds_annotations_v3_FieldSecurityAnnotation_configure_for_untrusted_upstream
UPB_INLINE bool xds_annotations_v3_FieldSecurityAnnotation_configure_for_untrusted_upstream(const xds_annotations_v3_FieldSecurityAnnotation *msg)
Definition: xds/annotations/v3/security.upb.h:72
_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_security
const UPB_INLINE xds_annotations_v3_FieldSecurityAnnotation * xds_annotations_v3_security(const struct google_protobuf_FieldOptions *msg)
Definition: xds/annotations/v3/security.upb.h:89
xds_annotations_v3_has_security
UPB_INLINE bool xds_annotations_v3_has_security(const struct google_protobuf_FieldOptions *msg)
Definition: xds/annotations/v3/security.upb.h:83
xds_annotations_v3_FieldSecurityAnnotation_clear_configure_for_untrusted_downstream
UPB_INLINE void xds_annotations_v3_FieldSecurityAnnotation_clear_configure_for_untrusted_downstream(const xds_annotations_v3_FieldSecurityAnnotation *msg)
Definition: xds/annotations/v3/security.upb.h:63
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
options
double_dict options[]
Definition: capstone_test.c:55
buf
voidpf void * buf
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
upb_MiniTable_Extension
Definition: msg_internal.h:202
kUpb_DecodeStatus_Ok
@ kUpb_DecodeStatus_Ok
Definition: decode.h:72
_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
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_FieldSecurityAnnotation_parse_ex
UPB_INLINE xds_annotations_v3_FieldSecurityAnnotation * xds_annotations_v3_FieldSecurityAnnotation_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: xds/annotations/v3/security.upb.h:45
xds_annotations_v3_set_security
UPB_INLINE void xds_annotations_v3_set_security(struct google_protobuf_FieldOptions *msg, const xds_annotations_v3_FieldSecurityAnnotation *ext, upb_Arena *arena)
Definition: xds/annotations/v3/security.upb.h:94
_upb_Message_New
upb_Message * _upb_Message_New(const upb_MiniTable *l, upb_Arena *a)
Definition: msg.c:44
xds_annotations_v3_FieldSecurityAnnotation_configure_for_untrusted_downstream
UPB_INLINE bool xds_annotations_v3_FieldSecurityAnnotation_configure_for_untrusted_downstream(const xds_annotations_v3_FieldSecurityAnnotation *msg)
Definition: xds/annotations/v3/security.upb.h:66
xds_annotations_v3_FieldSecurityAnnotation_set_configure_for_untrusted_upstream
UPB_INLINE void xds_annotations_v3_FieldSecurityAnnotation_set_configure_for_untrusted_upstream(xds_annotations_v3_FieldSecurityAnnotation *msg, bool value)
Definition: xds/annotations/v3/security.upb.h:79
decode.h
xds_annotations_v3_FieldSecurityAnnotation_serialize_ex
UPB_INLINE char * xds_annotations_v3_FieldSecurityAnnotation_serialize_ex(const xds_annotations_v3_FieldSecurityAnnotation *msg, int options, upb_Arena *arena, size_t *len)
Definition: xds/annotations/v3/security.upb.h:59
google_protobuf_FieldOptions
struct google_protobuf_FieldOptions google_protobuf_FieldOptions
Definition: descriptor.upb.h:65
xds_annotations_v3_FieldSecurityAnnotation_new
UPB_INLINE xds_annotations_v3_FieldSecurityAnnotation * xds_annotations_v3_FieldSecurityAnnotation_new(upb_Arena *arena)
Definition: xds/annotations/v3/security.upb.h:34
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
UPB_INLINE
#define UPB_INLINE
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:53
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_security_proto_upb_file_layout
const upb_MiniTable_File xds_annotations_v3_security_proto_upb_file_layout
Definition: xds/annotations/v3/security.upb.c:45
decode_fast.h
msg
std::string msg
Definition: client_interceptors_end2end_test.cc:372
google_protobuf_FieldOptions_msginit
const upb_MiniTable google_protobuf_FieldOptions_msginit
Definition: descriptor.upb.c:323
xds_annotations_v3_FieldSecurityAnnotation_set_configure_for_untrusted_downstream
UPB_INLINE void xds_annotations_v3_FieldSecurityAnnotation_set_configure_for_untrusted_downstream(xds_annotations_v3_FieldSecurityAnnotation *msg, bool value)
Definition: xds/annotations/v3/security.upb.h:76
xds_annotations_v3_FieldSecurityAnnotation_clear_configure_for_untrusted_upstream
UPB_INLINE void xds_annotations_v3_FieldSecurityAnnotation_clear_configure_for_untrusted_upstream(const xds_annotations_v3_FieldSecurityAnnotation *msg)
Definition: xds/annotations/v3/security.upb.h:69
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
xds_annotations_v3_FieldSecurityAnnotation_parse
UPB_INLINE xds_annotations_v3_FieldSecurityAnnotation * xds_annotations_v3_FieldSecurityAnnotation_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: xds/annotations/v3/security.upb.h:37
ret
UniquePtr< SSL_SESSION > ret
Definition: ssl_x509.cc:1029
xds_annotations_v3_FieldSecurityAnnotation_msginit
const upb_MiniTable xds_annotations_v3_FieldSecurityAnnotation_msginit
Definition: xds/annotations/v3/security.upb.c:22
_upb_Message_Clearext
void _upb_Message_Clearext(upb_Message *msg, const upb_MiniTable_Extension *ext_l)
Definition: msg.c:142
xds_annotations_v3_FieldSecurityAnnotation
struct xds_annotations_v3_FieldSecurityAnnotation xds_annotations_v3_FieldSecurityAnnotation
Definition: xds/annotations/v3/security.upb.h:24
xds_annotations_v3_FieldSecurityAnnotation_serialize
UPB_INLINE char * xds_annotations_v3_FieldSecurityAnnotation_serialize(const xds_annotations_v3_FieldSecurityAnnotation *msg, upb_Arena *arena, size_t *len)
Definition: xds/annotations/v3/security.upb.h:56
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
upb_ExtensionRegistry
Definition: msg.c:372
xds_annotations_v3_security_ext
const upb_MiniTable_Extension xds_annotations_v3_security_ext
Definition: xds/annotations/v3/security.upb.c:34
xds_annotations_v3_clear_security
UPB_INLINE void xds_annotations_v3_clear_security(struct google_protobuf_FieldOptions *msg)
Definition: xds/annotations/v3/security.upb.h:86


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