udp_socket_config.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  * envoy/config/core/v3/udp_socket_config.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_CONFIG_CORE_V3_UDP_SOCKET_CONFIG_PROTO_UPB_H_
10 #define ENVOY_CONFIG_CORE_V3_UDP_SOCKET_CONFIG_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 
30 
31 
32 
33 /* envoy.config.core.v3.UdpSocketConfig */
34 
37 }
40  if (!ret) return NULL;
42  return NULL;
43  }
44  return ret;
45 }
47  const upb_ExtensionRegistry* extreg,
48  int options, upb_Arena* arena) {
50  if (!ret) return NULL;
53  return NULL;
54  }
55  return ret;
56 }
59 }
61  upb_Arena* arena, size_t* len) {
63 }
65  return _upb_hasbit(msg, 1);
66 }
68  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), const upb_Message*) = NULL;
69 }
71  return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), const struct google_protobuf_UInt64Value*);
72 }
74  return _upb_hasbit(msg, 2);
75 }
77  *UPB_PTR_AT(msg, UPB_SIZE(8, 16), const upb_Message*) = NULL;
78 }
80  return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), const struct google_protobuf_BoolValue*);
81 }
82 
84  _upb_sethas(msg, 1);
86 }
89  if (sub == NULL) {
91  if (!sub) return NULL;
93  }
94  return sub;
95 }
97  _upb_sethas(msg, 2);
99 }
102  if (sub == NULL) {
104  if (!sub) return NULL;
106  }
107  return sub;
108 }
109 
111 
112 #ifdef __cplusplus
113 } /* extern "C" */
114 #endif
115 
116 #include "upb/port_undef.inc"
117 
118 #endif /* ENVOY_CONFIG_CORE_V3_UDP_SOCKET_CONFIG_PROTO_UPB_H_ */
envoy_config_core_v3_UdpSocketConfig_prefer_gro
UPB_INLINE const struct google_protobuf_BoolValue * envoy_config_core_v3_UdpSocketConfig_prefer_gro(const envoy_config_core_v3_UdpSocketConfig *msg)
Definition: udp_socket_config.upb.h:79
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
options
double_dict options[]
Definition: capstone_test.c:55
buf
voidpf void * buf
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
kUpb_DecodeStatus_Ok
@ kUpb_DecodeStatus_Ok
Definition: decode.h:72
_upb_sethas
UPB_INLINE bool _upb_sethas(const void *msg, size_t idx)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:1232
upb_MiniTable
Definition: msg_internal.h:185
envoy_config_core_v3_UdpSocketConfig_serialize
UPB_INLINE char * envoy_config_core_v3_UdpSocketConfig_serialize(const envoy_config_core_v3_UdpSocketConfig *msg, upb_Arena *arena, size_t *len)
Definition: udp_socket_config.upb.h:57
envoy_config_core_v3_UdpSocketConfig_clear_prefer_gro
UPB_INLINE void envoy_config_core_v3_UdpSocketConfig_clear_prefer_gro(const envoy_config_core_v3_UdpSocketConfig *msg)
Definition: udp_socket_config.upb.h:76
envoy_config_core_v3_UdpSocketConfig_parse_ex
UPB_INLINE envoy_config_core_v3_UdpSocketConfig * envoy_config_core_v3_UdpSocketConfig_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: udp_socket_config.upb.h:46
UPB_PTR_AT
#define UPB_PTR_AT(msg, ofs, type)
Definition: php-upb.c:71
envoy_config_core_v3_udp_socket_config_proto_upb_file_layout
const upb_MiniTable_File envoy_config_core_v3_udp_socket_config_proto_upb_file_layout
Definition: udp_socket_config.upb.c:38
google_protobuf_UInt64Value_msginit
const upb_MiniTable google_protobuf_UInt64Value_msginit
Definition: wrappers.upb.c:49
envoy_config_core_v3_UdpSocketConfig
struct envoy_config_core_v3_UdpSocketConfig envoy_config_core_v3_UdpSocketConfig
Definition: udp_socket_config.upb.h:24
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
envoy_config_core_v3_UdpSocketConfig_has_max_rx_datagram_size
UPB_INLINE bool envoy_config_core_v3_UdpSocketConfig_has_max_rx_datagram_size(const envoy_config_core_v3_UdpSocketConfig *msg)
Definition: udp_socket_config.upb.h:64
_upb_Message_New
upb_Message * _upb_Message_New(const upb_MiniTable *l, upb_Arena *a)
Definition: msg.c:44
decode.h
envoy_config_core_v3_UdpSocketConfig_max_rx_datagram_size
UPB_INLINE const struct google_protobuf_UInt64Value * envoy_config_core_v3_UdpSocketConfig_max_rx_datagram_size(const envoy_config_core_v3_UdpSocketConfig *msg)
Definition: udp_socket_config.upb.h:70
envoy_config_core_v3_UdpSocketConfig_has_prefer_gro
UPB_INLINE bool envoy_config_core_v3_UdpSocketConfig_has_prefer_gro(const envoy_config_core_v3_UdpSocketConfig *msg)
Definition: udp_socket_config.upb.h:73
UPB_SIZE
#define UPB_SIZE(size32, size64)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:32
envoy_config_core_v3_UdpSocketConfig_set_max_rx_datagram_size
UPB_INLINE void envoy_config_core_v3_UdpSocketConfig_set_max_rx_datagram_size(envoy_config_core_v3_UdpSocketConfig *msg, struct google_protobuf_UInt64Value *value)
Definition: udp_socket_config.upb.h:83
UPB_INLINE
#define UPB_INLINE
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:53
envoy_config_core_v3_UdpSocketConfig_mutable_max_rx_datagram_size
UPB_INLINE struct google_protobuf_UInt64Value * envoy_config_core_v3_UdpSocketConfig_mutable_max_rx_datagram_size(envoy_config_core_v3_UdpSocketConfig *msg, upb_Arena *arena)
Definition: udp_socket_config.upb.h:87
upb_MiniTable_File
Definition: msg_internal.h:208
envoy_config_core_v3_UdpSocketConfig_new
UPB_INLINE envoy_config_core_v3_UdpSocketConfig * envoy_config_core_v3_UdpSocketConfig_new(upb_Arena *arena)
Definition: udp_socket_config.upb.h:35
upb_Message
void upb_Message
Definition: msg.h:49
decode_fast.h
msg
std::string msg
Definition: client_interceptors_end2end_test.cc:372
envoy_config_core_v3_UdpSocketConfig_serialize_ex
UPB_INLINE char * envoy_config_core_v3_UdpSocketConfig_serialize_ex(const envoy_config_core_v3_UdpSocketConfig *msg, int options, upb_Arena *arena, size_t *len)
Definition: udp_socket_config.upb.h:60
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_hasbit
UPB_INLINE bool _upb_hasbit(const upb_msg *msg, size_t idx)
Definition: php-upb.h:1269
ret
UniquePtr< SSL_SESSION > ret
Definition: ssl_x509.cc:1029
google_protobuf_BoolValue
struct google_protobuf_BoolValue google_protobuf_BoolValue
Definition: wrappers.upb.h:38
envoy_config_core_v3_UdpSocketConfig_parse
UPB_INLINE envoy_config_core_v3_UdpSocketConfig * envoy_config_core_v3_UdpSocketConfig_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: udp_socket_config.upb.h:38
google_protobuf_UInt64Value
struct google_protobuf_UInt64Value google_protobuf_UInt64Value
Definition: wrappers.upb.h:35
envoy_config_core_v3_UdpSocketConfig_mutable_prefer_gro
UPB_INLINE struct google_protobuf_BoolValue * envoy_config_core_v3_UdpSocketConfig_mutable_prefer_gro(envoy_config_core_v3_UdpSocketConfig *msg, upb_Arena *arena)
Definition: udp_socket_config.upb.h:100
len
int len
Definition: abseil-cpp/absl/base/internal/low_level_alloc_test.cc:46
envoy_config_core_v3_UdpSocketConfig_set_prefer_gro
UPB_INLINE void envoy_config_core_v3_UdpSocketConfig_set_prefer_gro(envoy_config_core_v3_UdpSocketConfig *msg, struct google_protobuf_BoolValue *value)
Definition: udp_socket_config.upb.h:96
size
voidpf void uLong size
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
envoy_config_core_v3_UdpSocketConfig_clear_max_rx_datagram_size
UPB_INLINE void envoy_config_core_v3_UdpSocketConfig_clear_max_rx_datagram_size(const envoy_config_core_v3_UdpSocketConfig *msg)
Definition: udp_socket_config.upb.h:67
msg_internal.h
upb_Arena
Definition: upb_internal.h:36
google_protobuf_BoolValue_msginit
const upb_MiniTable google_protobuf_BoolValue_msginit
Definition: wrappers.upb.c:79
upb_ExtensionRegistry
Definition: msg.c:372
envoy_config_core_v3_UdpSocketConfig_msginit
const upb_MiniTable envoy_config_core_v3_UdpSocketConfig_msginit
Definition: udp_socket_config.upb.c:28


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:43