health.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  * src/proto/grpc/health/v1/health.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef SRC_PROTO_GRPC_HEALTH_V1_HEALTH_PROTO_UPB_H_
10 #define SRC_PROTO_GRPC_HEALTH_V1_HEALTH_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 typedef enum {
36 
37 
38 
39 /* grpc.health.v1.HealthCheckRequest */
40 
43 }
46  if (!ret) return NULL;
48  return NULL;
49  }
50  return ret;
51 }
53  const upb_ExtensionRegistry* extreg,
54  int options, upb_Arena* arena) {
56  if (!ret) return NULL;
59  return NULL;
60  }
61  return ret;
62 }
65 }
67  upb_Arena* arena, size_t* len) {
69 }
72 }
74  return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_StringView);
75 }
76 
79 }
80 
81 /* grpc.health.v1.HealthCheckResponse */
82 
85 }
88  if (!ret) return NULL;
90  return NULL;
91  }
92  return ret;
93 }
95  const upb_ExtensionRegistry* extreg,
96  int options, upb_Arena* arena) {
98  if (!ret) return NULL;
101  return NULL;
102  }
103  return ret;
104 }
107 }
109  upb_Arena* arena, size_t* len) {
111 }
113  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t) = 0;
114 }
116  return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t);
117 }
118 
120  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t) = value;
121 }
122 
124 
125 #ifdef __cplusplus
126 } /* extern "C" */
127 #endif
128 
129 #include "upb/port_undef.inc"
130 
131 #endif /* SRC_PROTO_GRPC_HEALTH_V1_HEALTH_PROTO_UPB_H_ */
grpc_health_v1_HealthCheckRequest_new
UPB_INLINE grpc_health_v1_HealthCheckRequest * grpc_health_v1_HealthCheckRequest_new(upb_Arena *arena)
Definition: health.upb.h:41
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
grpc_health_v1_HealthCheckRequest_msginit
const upb_MiniTable grpc_health_v1_HealthCheckRequest_msginit
Definition: health.upb.c:19
kUpb_DecodeStatus_Ok
@ kUpb_DecodeStatus_Ok
Definition: decode.h:72
grpc_health_v1_HealthCheckResponse_UNKNOWN
@ grpc_health_v1_HealthCheckResponse_UNKNOWN
Definition: health.upb.h:31
upb_MiniTable
Definition: msg_internal.h:185
grpc_health_v1_HealthCheckResponse_clear_status
UPB_INLINE void grpc_health_v1_HealthCheckResponse_clear_status(const grpc_health_v1_HealthCheckResponse *msg)
Definition: health.upb.h:112
UPB_PTR_AT
#define UPB_PTR_AT(msg, ofs, type)
Definition: php-upb.c:71
grpc_health_v1_HealthCheckRequest_serialize
UPB_INLINE char * grpc_health_v1_HealthCheckRequest_serialize(const grpc_health_v1_HealthCheckRequest *msg, upb_Arena *arena, size_t *len)
Definition: health.upb.h:63
grpc_health_v1_HealthCheckResponse_parse_ex
UPB_INLINE grpc_health_v1_HealthCheckResponse * grpc_health_v1_HealthCheckResponse_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: health.upb.h:94
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
src_proto_grpc_health_v1_health_proto_upb_file_layout
const upb_MiniTable_File src_proto_grpc_health_v1_health_proto_upb_file_layout
Definition: health.upb.c:40
grpc_health_v1_HealthCheckResponse_SERVICE_UNKNOWN
@ grpc_health_v1_HealthCheckResponse_SERVICE_UNKNOWN
Definition: health.upb.h:34
grpc_health_v1_HealthCheckResponse_SERVING
@ grpc_health_v1_HealthCheckResponse_SERVING
Definition: health.upb.h:32
grpc_health_v1_HealthCheckResponse_serialize
UPB_INLINE char * grpc_health_v1_HealthCheckResponse_serialize(const grpc_health_v1_HealthCheckResponse *msg, upb_Arena *arena, size_t *len)
Definition: health.upb.h:105
_upb_Message_New
upb_Message * _upb_Message_New(const upb_MiniTable *l, upb_Arena *a)
Definition: msg.c:44
grpc_health_v1_HealthCheckResponse
struct grpc_health_v1_HealthCheckResponse grpc_health_v1_HealthCheckResponse
Definition: health.upb.h:26
grpc_health_v1_HealthCheckResponse_parse
UPB_INLINE grpc_health_v1_HealthCheckResponse * grpc_health_v1_HealthCheckResponse_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: health.upb.h:86
decode.h
grpc_health_v1_HealthCheckRequest_parse
UPB_INLINE grpc_health_v1_HealthCheckRequest * grpc_health_v1_HealthCheckRequest_parse(const char *buf, size_t size, upb_Arena *arena)
Definition: health.upb.h:44
grpc_health_v1_HealthCheckRequest_clear_service
UPB_INLINE void grpc_health_v1_HealthCheckRequest_clear_service(const grpc_health_v1_HealthCheckRequest *msg)
Definition: health.upb.h:70
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
decode_fast.h
msg
std::string msg
Definition: client_interceptors_end2end_test.cc:372
grpc_health_v1_HealthCheckResponse_ServingStatus
grpc_health_v1_HealthCheckResponse_ServingStatus
Definition: health.upb.h:30
grpc_health_v1_HealthCheckResponse_serialize_ex
UPB_INLINE char * grpc_health_v1_HealthCheckResponse_serialize_ex(const grpc_health_v1_HealthCheckResponse *msg, int options, upb_Arena *arena, size_t *len)
Definition: health.upb.h:108
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_StringView
Definition: upb/upb/upb.h:72
grpc_health_v1_HealthCheckRequest_service
UPB_INLINE upb_StringView grpc_health_v1_HealthCheckRequest_service(const grpc_health_v1_HealthCheckRequest *msg)
Definition: health.upb.h:73
ret
UniquePtr< SSL_SESSION > ret
Definition: ssl_x509.cc:1029
grpc_health_v1_HealthCheckResponse_status
UPB_INLINE int32_t grpc_health_v1_HealthCheckResponse_status(const grpc_health_v1_HealthCheckResponse *msg)
Definition: health.upb.h:115
grpc_health_v1_HealthCheckResponse_new
UPB_INLINE grpc_health_v1_HealthCheckResponse * grpc_health_v1_HealthCheckResponse_new(upb_Arena *arena)
Definition: health.upb.h:83
upb_StringView_FromDataAndSize
UPB_INLINE upb_StringView upb_StringView_FromDataAndSize(const char *data, size_t size)
Definition: upb/upb/upb.h:77
grpc_health_v1_HealthCheckResponse_NOT_SERVING
@ grpc_health_v1_HealthCheckResponse_NOT_SERVING
Definition: health.upb.h:33
grpc_health_v1_HealthCheckRequest_set_service
UPB_INLINE void grpc_health_v1_HealthCheckRequest_set_service(grpc_health_v1_HealthCheckRequest *msg, upb_StringView value)
Definition: health.upb.h:77
grpc_health_v1_HealthCheckRequest
struct grpc_health_v1_HealthCheckRequest grpc_health_v1_HealthCheckRequest
Definition: health.upb.h:25
grpc_health_v1_HealthCheckRequest_parse_ex
UPB_INLINE grpc_health_v1_HealthCheckRequest * grpc_health_v1_HealthCheckRequest_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
Definition: health.upb.h:52
grpc_health_v1_HealthCheckResponse_set_status
UPB_INLINE void grpc_health_v1_HealthCheckResponse_set_status(grpc_health_v1_HealthCheckResponse *msg, int32_t value)
Definition: health.upb.h:119
grpc_health_v1_HealthCheckRequest_serialize_ex
UPB_INLINE char * grpc_health_v1_HealthCheckRequest_serialize_ex(const grpc_health_v1_HealthCheckRequest *msg, int options, upb_Arena *arena, size_t *len)
Definition: health.upb.h:66
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
int32_t
signed int int32_t
Definition: stdint-msvc2008.h:77
grpc_health_v1_HealthCheckResponse_msginit
const upb_MiniTable grpc_health_v1_HealthCheckResponse_msginit
Definition: health.upb.c:29
msg_internal.h
upb_Arena
Definition: upb_internal.h:36
upb_ExtensionRegistry
Definition: msg.c:372


grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:01