9 #ifndef GOOGLE_RPC_STATUS_PROTO_UPB_H_
10 #define GOOGLE_RPC_STATUS_PROTO_UPB_H_
13 #include "upb/decode.h"
14 #include "upb/decode_fast.h"
15 #include "upb/encode.h"
17 #include "upb/port_def.inc"
41 upb_arena *
arena,
int options) {
56 *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t) = value;
59 *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview) = value;
62 return (
struct google_protobuf_Any**)_upb_array_mutable_accessor(msg, UPB_SIZE(12, 24), len);
69 bool ok = _upb_array_append_accessor2(
70 msg, UPB_SIZE(12, 24), UPB_SIZE(2, 3), &sub,
arena);
79 #include "upb/port_undef.inc"
struct google_protobuf_Any google_protobuf_Any
Definition: any.upb.h:24
const upb_msglayout google_rpc_Status_msginit
Definition: status.upb.c:26
UPB_INLINE bool google_rpc_Status_has_details(const google_rpc_Status *msg)
Definition: status.upb.h:52
UPB_INLINE const struct google_protobuf_Any *const * google_rpc_Status_details(const google_rpc_Status *msg, size_t *len)
Definition: status.upb.h:53
UPB_INLINE struct google_protobuf_Any ** google_rpc_Status_mutable_details(google_rpc_Status *msg, size_t *len)
Definition: status.upb.h:61
UPB_INLINE google_rpc_Status * google_rpc_Status_parse(const char *buf, size_t size, upb_arena *arena)
Definition: status.upb.h:35
UPB_INLINE void google_rpc_Status_set_message(google_rpc_Status *msg, upb_strview value)
Definition: status.upb.h:58
UPB_INLINE upb_strview google_rpc_Status_message(const google_rpc_Status *msg)
Definition: status.upb.h:51
UPB_INLINE void google_rpc_Status_set_code(google_rpc_Status *msg, int32_t value)
Definition: status.upb.h:55
struct google_rpc_Status google_rpc_Status
Definition: status.upb.h:24
UPB_INLINE char * google_rpc_Status_serialize(const google_rpc_Status *msg, upb_arena *arena, size_t *len)
Definition: status.upb.h:46
UPB_INLINE google_rpc_Status * google_rpc_Status_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: status.upb.h:40
UPB_INLINE struct google_protobuf_Any * google_rpc_Status_add_details(google_rpc_Status *msg, upb_arena *arena)
Definition: status.upb.h:67
UPB_INLINE int32_t google_rpc_Status_code(const google_rpc_Status *msg)
Definition: status.upb.h:50
const upb_msglayout google_protobuf_Any_msginit
Definition: any.upb.c:20
UPB_INLINE google_rpc_Status * google_rpc_Status_new(upb_arena *arena)
Definition: status.upb.h:32
UPB_INLINE struct google_protobuf_Any ** google_rpc_Status_resize_details(google_rpc_Status *msg, size_t len, upb_arena *arena)
Definition: status.upb.h:64
upb_arena * arena
Definition: xds_api.cc:909