grpc_method_list.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/grpc_method_list.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_CONFIG_CORE_V3_GRPC_METHOD_LIST_PROTO_UPB_H_
10 #define ENVOY_CONFIG_CORE_V3_GRPC_METHOD_LIST_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 /* envoy.config.core.v3.GrpcMethodList */
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  return _upb_has_submsg_nohasbit(msg, UPB_SIZE(0, 0));
65 }
68 }
71 }
72 
75 }
78 }
81  bool ok = _upb_Array_Append_accessor2(msg, UPB_SIZE(0, 0), UPB_SIZE(2, 3), &sub, arena);
82  if (!ok) return NULL;
83  return sub;
84 }
85 
86 /* envoy.config.core.v3.GrpcMethodList.Service */
87 
90 }
93  if (!ret) return NULL;
95  return NULL;
96  }
97  return ret;
98 }
100  const upb_ExtensionRegistry* extreg,
101  int options, upb_Arena* arena) {
103  if (!ret) return NULL;
106  return NULL;
107  }
108  return ret;
109 }
112 }
114  upb_Arena* arena, size_t* len) {
116 }
119 }
121  return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_StringView);
122 }
124  _upb_array_detach(msg, UPB_SIZE(8, 16));
125 }
127  return (upb_StringView const*)_upb_array_accessor(msg, UPB_SIZE(8, 16), len);
128 }
129 
132 }
135 }
138 }
140  return _upb_Array_Append_accessor2(msg, UPB_SIZE(8, 16), UPB_SIZE(3, 4), &val, arena);
141 }
142 
144 
145 #ifdef __cplusplus
146 } /* extern "C" */
147 #endif
148 
149 #include "upb/port_undef.inc"
150 
151 #endif /* ENVOY_CONFIG_CORE_V3_GRPC_METHOD_LIST_PROTO_UPB_H_ */
envoy_config_core_v3_GrpcMethodList_Service_name
UPB_INLINE upb_StringView envoy_config_core_v3_GrpcMethodList_Service_name(const envoy_config_core_v3_GrpcMethodList_Service *msg)
Definition: grpc_method_list.upb.h:120
envoy_config_core_v3_GrpcMethodList_Service_clear_name
UPB_INLINE void envoy_config_core_v3_GrpcMethodList_Service_clear_name(const envoy_config_core_v3_GrpcMethodList_Service *msg)
Definition: grpc_method_list.upb.h:117
envoy_config_core_v3_GrpcMethodList_Service_msginit
const upb_MiniTable envoy_config_core_v3_GrpcMethodList_Service_msginit
Definition: grpc_method_list.upb.c:37
envoy_config_core_v3_GrpcMethodList_msginit
const upb_MiniTable envoy_config_core_v3_GrpcMethodList_msginit
Definition: grpc_method_list.upb.c:26
envoy_config_core_v3_GrpcMethodList_mutable_services
UPB_INLINE envoy_config_core_v3_GrpcMethodList_Service ** envoy_config_core_v3_GrpcMethodList_mutable_services(envoy_config_core_v3_GrpcMethodList *msg, size_t *len)
Definition: grpc_method_list.upb.h:73
envoy_config_core_v3_GrpcMethodList_Service_mutable_method_names
UPB_INLINE upb_StringView * envoy_config_core_v3_GrpcMethodList_Service_mutable_method_names(envoy_config_core_v3_GrpcMethodList_Service *msg, size_t *len)
Definition: grpc_method_list.upb.h:133
_upb_array_accessor
const UPB_INLINE void * _upb_array_accessor(const void *msg, size_t ofs, size_t *size)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:1159
envoy_config_core_v3_GrpcMethodList_resize_services
UPB_INLINE envoy_config_core_v3_GrpcMethodList_Service ** envoy_config_core_v3_GrpcMethodList_resize_services(envoy_config_core_v3_GrpcMethodList *msg, size_t len, upb_Arena *arena)
Definition: grpc_method_list.upb.h:76
envoy_config_core_v3_GrpcMethodList
struct envoy_config_core_v3_GrpcMethodList envoy_config_core_v3_GrpcMethodList
Definition: grpc_method_list.upb.h:25
envoy_config_core_v3_GrpcMethodList_clear_services
UPB_INLINE void envoy_config_core_v3_GrpcMethodList_clear_services(const envoy_config_core_v3_GrpcMethodList *msg)
Definition: grpc_method_list.upb.h:66
envoy_config_core_v3_GrpcMethodList_Service_parse_ex
UPB_INLINE envoy_config_core_v3_GrpcMethodList_Service * envoy_config_core_v3_GrpcMethodList_Service_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: grpc_method_list.upb.h:99
encode.h
envoy_config_core_v3_GrpcMethodList_has_services
UPB_INLINE bool envoy_config_core_v3_GrpcMethodList_has_services(const envoy_config_core_v3_GrpcMethodList *msg)
Definition: grpc_method_list.upb.h:63
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_MiniTable
Definition: msg_internal.h:185
envoy_config_core_v3_GrpcMethodList_Service_resize_method_names
UPB_INLINE upb_StringView * envoy_config_core_v3_GrpcMethodList_Service_resize_method_names(envoy_config_core_v3_GrpcMethodList_Service *msg, size_t len, upb_Arena *arena)
Definition: grpc_method_list.upb.h:136
_upb_array_detach
UPB_INLINE void _upb_array_detach(const void *msg, size_t ofs)
Definition: msg_internal.h:485
UPB_PTR_AT
#define UPB_PTR_AT(msg, ofs, type)
Definition: php-upb.c:71
envoy_config_core_v3_GrpcMethodList_Service
struct envoy_config_core_v3_GrpcMethodList_Service envoy_config_core_v3_GrpcMethodList_Service
Definition: grpc_method_list.upb.h:26
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
envoy_config_core_v3_GrpcMethodList_Service_new
UPB_INLINE envoy_config_core_v3_GrpcMethodList_Service * envoy_config_core_v3_GrpcMethodList_Service_new(upb_Arena *arena)
Definition: grpc_method_list.upb.h:88
envoy_config_core_v3_GrpcMethodList_Service_serialize_ex
UPB_INLINE char * envoy_config_core_v3_GrpcMethodList_Service_serialize_ex(const envoy_config_core_v3_GrpcMethodList_Service *msg, int options, upb_Arena *arena, size_t *len)
Definition: grpc_method_list.upb.h:113
envoy_config_core_v3_GrpcMethodList_Service_add_method_names
UPB_INLINE bool envoy_config_core_v3_GrpcMethodList_Service_add_method_names(envoy_config_core_v3_GrpcMethodList_Service *msg, upb_StringView val, upb_Arena *arena)
Definition: grpc_method_list.upb.h:139
_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_grpc_method_list_proto_upb_file_layout
const upb_MiniTable_File envoy_config_core_v3_grpc_method_list_proto_upb_file_layout
Definition: grpc_method_list.upb.c:48
_upb_Array_Append_accessor2
UPB_INLINE bool _upb_Array_Append_accessor2(void *msg, size_t ofs, int elem_size_lg2, const void *value, upb_Arena *arena)
Definition: msg_internal.h:525
UPB_SIZE
#define UPB_SIZE(size32, size64)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:32
envoy_config_core_v3_GrpcMethodList_Service_clear_method_names
UPB_INLINE void envoy_config_core_v3_GrpcMethodList_Service_clear_method_names(const envoy_config_core_v3_GrpcMethodList_Service *msg)
Definition: grpc_method_list.upb.h:123
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
envoy_config_core_v3_GrpcMethodList_Service_serialize
UPB_INLINE char * envoy_config_core_v3_GrpcMethodList_Service_serialize(const envoy_config_core_v3_GrpcMethodList_Service *msg, upb_Arena *arena, size_t *len)
Definition: grpc_method_list.upb.h:110
envoy_config_core_v3_GrpcMethodList_Service_parse
UPB_INLINE envoy_config_core_v3_GrpcMethodList_Service * envoy_config_core_v3_GrpcMethodList_Service_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: grpc_method_list.upb.h:91
envoy_config_core_v3_GrpcMethodList_serialize
UPB_INLINE char * envoy_config_core_v3_GrpcMethodList_serialize(const envoy_config_core_v3_GrpcMethodList *msg, upb_Arena *arena, size_t *len)
Definition: grpc_method_list.upb.h:56
envoy_config_core_v3_GrpcMethodList_Service_set_name
UPB_INLINE void envoy_config_core_v3_GrpcMethodList_Service_set_name(envoy_config_core_v3_GrpcMethodList_Service *msg, upb_StringView value)
Definition: grpc_method_list.upb.h:130
decode_fast.h
msg
std::string msg
Definition: client_interceptors_end2end_test.cc:372
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
envoy_config_core_v3_GrpcMethodList_new
UPB_INLINE envoy_config_core_v3_GrpcMethodList * envoy_config_core_v3_GrpcMethodList_new(upb_Arena *arena)
Definition: grpc_method_list.upb.h:34
upb_StringView
Definition: upb/upb/upb.h:72
envoy_config_core_v3_GrpcMethodList_parse_ex
UPB_INLINE envoy_config_core_v3_GrpcMethodList * envoy_config_core_v3_GrpcMethodList_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: grpc_method_list.upb.h:45
ret
UniquePtr< SSL_SESSION > ret
Definition: ssl_x509.cc:1029
upb_StringView_FromDataAndSize
UPB_INLINE upb_StringView upb_StringView_FromDataAndSize(const char *data, size_t size)
Definition: upb/upb/upb.h:77
ok
bool ok
Definition: async_end2end_test.cc:197
envoy_config_core_v3_GrpcMethodList_serialize_ex
UPB_INLINE char * envoy_config_core_v3_GrpcMethodList_serialize_ex(const envoy_config_core_v3_GrpcMethodList *msg, int options, upb_Arena *arena, size_t *len)
Definition: grpc_method_list.upb.h:59
_upb_Array_Resize_accessor2
UPB_INLINE void * _upb_Array_Resize_accessor2(void *msg, size_t ofs, size_t size, int elem_size_lg2, upb_Arena *arena)
Definition: msg_internal.h:513
_upb_has_submsg_nohasbit
UPB_INLINE bool _upb_has_submsg_nohasbit(const upb_msg *msg, size_t ofs)
Definition: php-upb.h:1326
envoy_config_core_v3_GrpcMethodList_parse
UPB_INLINE envoy_config_core_v3_GrpcMethodList * envoy_config_core_v3_GrpcMethodList_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: grpc_method_list.upb.h:37
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
envoy_config_core_v3_GrpcMethodList_Service_method_names
UPB_INLINE upb_StringView const * envoy_config_core_v3_GrpcMethodList_Service_method_names(const envoy_config_core_v3_GrpcMethodList_Service *msg, size_t *len)
Definition: grpc_method_list.upb.h:126
msg_internal.h
upb_Arena
Definition: upb_internal.h:36
envoy_config_core_v3_GrpcMethodList_add_services
UPB_INLINE struct envoy_config_core_v3_GrpcMethodList_Service * envoy_config_core_v3_GrpcMethodList_add_services(envoy_config_core_v3_GrpcMethodList *msg, upb_Arena *arena)
Definition: grpc_method_list.upb.h:79
upb_ExtensionRegistry
Definition: msg.c:372
_upb_array_mutable_accessor
UPB_INLINE void * _upb_array_mutable_accessor(void *msg, size_t ofs, size_t *size)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:1171
envoy_config_core_v3_GrpcMethodList_services
const UPB_INLINE envoy_config_core_v3_GrpcMethodList_Service *const * envoy_config_core_v3_GrpcMethodList_services(const envoy_config_core_v3_GrpcMethodList *msg, size_t *len)
Definition: grpc_method_list.upb.h:69


grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:44