Auto-generate files after cl/621510731
diff --git a/ruby/ext/google/protobuf_c/ruby-upb.h b/ruby/ext/google/protobuf_c/ruby-upb.h
index 2982fab..f19d6db 100755
--- a/ruby/ext/google/protobuf_c/ruby-upb.h
+++ b/ruby/ext/google/protobuf_c/ruby-upb.h
@@ -4143,10 +4143,18 @@
} upb_DecodeStatus;
UPB_API upb_DecodeStatus upb_Decode(const char* buf, size_t size,
- upb_Message* msg, const upb_MiniTable* l,
+ upb_Message* msg, const upb_MiniTable* mt,
const upb_ExtensionRegistry* extreg,
int options, upb_Arena* arena);
+// Same as upb_Decode but with a varint-encoded length prepended.
+// On success 'num_bytes_read' will be set to the how many bytes were read,
+// on failure the contents of num_bytes_read is undefined.
+UPB_API upb_DecodeStatus upb_DecodeLengthDelimited(
+ const char* buf, size_t size, upb_Message* msg, size_t* num_bytes_read,
+ const upb_MiniTable* mt, const upb_ExtensionRegistry* extreg, int options,
+ upb_Arena* arena);
+
#ifdef __cplusplus
} /* extern "C" */
#endif
@@ -4213,6 +4221,13 @@
const upb_MiniTable* l, int options,
upb_Arena* arena, char** buf, size_t* size);
+// Encodes the message prepended by a varint of the serialized length.
+UPB_API upb_EncodeStatus upb_EncodeLengthDelimited(const upb_Message* msg,
+ const upb_MiniTable* l,
+ int options,
+ upb_Arena* arena, char** buf,
+ size_t* size);
+
#ifdef __cplusplus
} /* extern "C" */
#endif