Auto-generate files after cl/623474125
diff --git a/ruby/ext/google/protobuf_c/ruby-upb.h b/ruby/ext/google/protobuf_c/ruby-upb.h index 87f68eb..06bf3a9 100755 --- a/ruby/ext/google/protobuf_c/ruby-upb.h +++ b/ruby/ext/google/protobuf_c/ruby-upb.h
@@ -4132,6 +4132,7 @@ return upb_DecodeOptions_MaxDepth(max_depth) | (decode_options & 0xffff); } +// LINT.IfChange typedef enum { kUpb_DecodeStatus_Ok = 0, kUpb_DecodeStatus_Malformed = 1, // Wire format was corrupt @@ -4149,6 +4150,7 @@ // of options. kUpb_DecodeStatus_UnlinkedSubMessage = 6, } upb_DecodeStatus; +// LINT.ThenChange(//depot/google3/third_party/protobuf/rust/upb.rs:decode_status) UPB_API upb_DecodeStatus upb_Decode(const char* buf, size_t size, upb_Message* msg, const upb_MiniTable* mt, @@ -4201,6 +4203,7 @@ kUpb_EncodeOption_CheckRequired = 4, }; +// LINT.IfChange typedef enum { kUpb_EncodeStatus_Ok = 0, kUpb_EncodeStatus_OutOfMemory = 1, // Arena alloc failed @@ -4209,6 +4212,7 @@ // kUpb_EncodeOption_CheckRequired failed but the parse otherwise succeeded. kUpb_EncodeStatus_MissingRequired = 3, } upb_EncodeStatus; +// LINT.ThenChange(//depot/google3/third_party/protobuf/rust/upb.rs:encode_status) UPB_INLINE uint32_t upb_EncodeOptions_MaxDepth(uint16_t depth) { return (uint32_t)depth << 16;