summaryrefslogtreecommitdiff
path: root/grpc/src/core/ext/upb-generated/google/api/annotations.upb.h
diff options
context:
space:
mode:
Diffstat (limited to 'grpc/src/core/ext/upb-generated/google/api/annotations.upb.h')
-rw-r--r--grpc/src/core/ext/upb-generated/google/api/annotations.upb.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/grpc/src/core/ext/upb-generated/google/api/annotations.upb.h b/grpc/src/core/ext/upb-generated/google/api/annotations.upb.h
index fcbe640d..30b3d2dd 100644
--- a/grpc/src/core/ext/upb-generated/google/api/annotations.upb.h
+++ b/grpc/src/core/ext/upb-generated/google/api/annotations.upb.h
@@ -9,7 +9,7 @@
#ifndef GOOGLE_API_ANNOTATIONS_PROTO_UPB_H_
#define GOOGLE_API_ANNOTATIONS_PROTO_UPB_H_
-#include "upb/msg.h"
+#include "upb/msg_internal.h"
#include "upb/decode.h"
#include "upb/decode_fast.h"
#include "upb/encode.h"
@@ -20,6 +20,29 @@
extern "C" {
#endif
+extern const upb_MiniTable_Extension google_api_http_ext;
+struct google_protobuf_MethodOptions;
+extern const upb_MiniTable google_protobuf_MethodOptions_msginit;
+
+
+UPB_INLINE bool google_api_has_http(const struct google_protobuf_MethodOptions* msg) {
+ return _upb_Message_Getext(msg, &google_api_http_ext) != NULL;
+}
+UPB_INLINE void google_api_clear_http(struct google_protobuf_MethodOptions* msg) {
+ _upb_Message_Clearext(msg, &google_api_http_ext);
+}
+UPB_INLINE const struct google_api_HttpRule* google_api_http(const struct google_protobuf_MethodOptions* msg) {
+ const upb_Message_Extension* ext = _upb_Message_Getext(msg, &google_api_http_ext);
+ UPB_ASSERT(ext);
+ return *UPB_PTR_AT(&ext->data, 0, const struct google_api_HttpRule*);
+}
+UPB_INLINE void google_api_set_http(struct google_protobuf_MethodOptions* msg, const struct google_api_HttpRule* ext, upb_Arena* arena) {
+ const upb_Message_Extension* msg_ext =
+ _upb_Message_Getorcreateext(msg, &google_api_http_ext, arena);
+ UPB_ASSERT(msg_ext);
+ *UPB_PTR_AT(&msg_ext->data, 0, const struct google_api_HttpRule*) = ext;
+}
+extern const upb_MiniTable_File google_api_annotations_proto_upb_file_layout;
#ifdef __cplusplus
} /* extern "C" */