path.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/type/matcher/v3/path.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_TYPE_MATCHER_V3_PATH_PROTO_UPB_H_
10 #define ENVOY_TYPE_MATCHER_V3_PATH_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 
28 
29 
30 
31 /* envoy.type.matcher.v3.PathMatcher */
32 
35 }
38  if (!ret) return NULL;
40  return NULL;
41  }
42  return ret;
43 }
45  const upb_ExtensionRegistry* extreg,
46  int options, upb_Arena* arena) {
48  if (!ret) return NULL;
51  return NULL;
52  }
53  return ret;
54 }
57 }
59  upb_Arena* arena, size_t* len) {
61 }
62 typedef enum {
68 }
70  return _upb_getoneofcase(msg, UPB_SIZE(0, 0)) == 1;
71 }
74 }
76  return UPB_READ_ONEOF(msg, const struct envoy_type_matcher_v3_StringMatcher*, UPB_SIZE(4, 8), UPB_SIZE(0, 0), 1, NULL);
77 }
78 
81 }
84  if (sub == NULL) {
86  if (!sub) return NULL;
88  }
89  return sub;
90 }
91 
93 
94 #ifdef __cplusplus
95 } /* extern "C" */
96 #endif
97 
98 #include "upb/port_undef.inc"
99 
100 #endif /* ENVOY_TYPE_MATCHER_V3_PATH_PROTO_UPB_H_ */
envoy_type_matcher_v3_PathMatcher_mutable_path
UPB_INLINE struct envoy_type_matcher_v3_StringMatcher * envoy_type_matcher_v3_PathMatcher_mutable_path(envoy_type_matcher_v3_PathMatcher *msg, upb_Arena *arena)
Definition: path.upb.h:82
envoy_type_matcher_v3_StringMatcher
struct envoy_type_matcher_v3_StringMatcher envoy_type_matcher_v3_StringMatcher
Definition: envoy/type/matcher/v3/string.upb.h:25
encode.h
envoy_type_matcher_v3_PathMatcher_rule_NOT_SET
@ envoy_type_matcher_v3_PathMatcher_rule_NOT_SET
Definition: path.upb.h:64
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
envoy_type_matcher_v3_PathMatcher_new
UPB_INLINE envoy_type_matcher_v3_PathMatcher * envoy_type_matcher_v3_PathMatcher_new(upb_Arena *arena)
Definition: path.upb.h:33
kUpb_DecodeStatus_Ok
@ kUpb_DecodeStatus_Ok
Definition: decode.h:72
envoy_type_matcher_v3_StringMatcher_msginit
const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msginit
Definition: envoy/type/matcher/v3/string.upb.c:32
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_New
upb_Message * _upb_Message_New(const upb_MiniTable *l, upb_Arena *a)
Definition: msg.c:44
envoy_type_matcher_v3_PathMatcher_rule_case
UPB_INLINE envoy_type_matcher_v3_PathMatcher_rule_oneofcases envoy_type_matcher_v3_PathMatcher_rule_case(const envoy_type_matcher_v3_PathMatcher *msg)
Definition: path.upb.h:66
decode.h
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
envoy_type_matcher_v3_PathMatcher_rule_oneofcases
envoy_type_matcher_v3_PathMatcher_rule_oneofcases
Definition: path.upb.h:62
envoy_type_matcher_v3_PathMatcher_clear_path
UPB_INLINE void envoy_type_matcher_v3_PathMatcher_clear_path(const envoy_type_matcher_v3_PathMatcher *msg)
Definition: path.upb.h:72
upb_MiniTable_File
Definition: msg_internal.h:208
envoy_type_matcher_v3_path_proto_upb_file_layout
const upb_MiniTable_File envoy_type_matcher_v3_path_proto_upb_file_layout
Definition: path.upb.c:37
envoy_type_matcher_v3_PathMatcher
struct envoy_type_matcher_v3_PathMatcher envoy_type_matcher_v3_PathMatcher
Definition: path.upb.h:24
envoy_type_matcher_v3_PathMatcher_serialize_ex
UPB_INLINE char * envoy_type_matcher_v3_PathMatcher_serialize_ex(const envoy_type_matcher_v3_PathMatcher *msg, int options, upb_Arena *arena, size_t *len)
Definition: path.upb.h:58
decode_fast.h
msg
std::string msg
Definition: client_interceptors_end2end_test.cc:372
envoy_type_matcher_v3_PathMatcher_has_path
UPB_INLINE bool envoy_type_matcher_v3_PathMatcher_has_path(const envoy_type_matcher_v3_PathMatcher *msg)
Definition: path.upb.h:69
value
const char * value
Definition: hpack_parser_table.cc:165
envoy_type_matcher_v3_PathMatcher_set_path
UPB_INLINE void envoy_type_matcher_v3_PathMatcher_set_path(envoy_type_matcher_v3_PathMatcher *msg, struct envoy_type_matcher_v3_StringMatcher *value)
Definition: path.upb.h:79
_upb_getoneofcase
UPB_INLINE uint32_t _upb_getoneofcase(const void *msg, size_t case_ofs)
Definition: php-upb.h:1307
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_READ_ONEOF
#define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:38
envoy_type_matcher_v3_PathMatcher_parse_ex
UPB_INLINE envoy_type_matcher_v3_PathMatcher * envoy_type_matcher_v3_PathMatcher_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: path.upb.h:44
ret
UniquePtr< SSL_SESSION > ret
Definition: ssl_x509.cc:1029
UPB_WRITE_ONEOF
#define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:43
envoy_type_matcher_v3_PathMatcher_rule_path
@ envoy_type_matcher_v3_PathMatcher_rule_path
Definition: path.upb.h:63
envoy_type_matcher_v3_PathMatcher_serialize
UPB_INLINE char * envoy_type_matcher_v3_PathMatcher_serialize(const envoy_type_matcher_v3_PathMatcher *msg, upb_Arena *arena, size_t *len)
Definition: path.upb.h:55
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_type_matcher_v3_PathMatcher_parse
UPB_INLINE envoy_type_matcher_v3_PathMatcher * envoy_type_matcher_v3_PathMatcher_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: path.upb.h:36
int32_t
signed int int32_t
Definition: stdint-msvc2008.h:77
msg_internal.h
upb_Arena
Definition: upb_internal.h:36
envoy_type_matcher_v3_PathMatcher_path
UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher * envoy_type_matcher_v3_PathMatcher_path(const envoy_type_matcher_v3_PathMatcher *msg)
Definition: path.upb.h:75
upb_ExtensionRegistry
Definition: msg.c:372
envoy_type_matcher_v3_PathMatcher_msginit
const upb_MiniTable envoy_type_matcher_v3_PathMatcher_msginit
Definition: path.upb.c:27


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:50