File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 10
10
// Sanjay Ghemawat, Jeff Dean, and others.
11
11
//
12
12
// Defines Message, the abstract interface implemented by non-lite
13
- // protocol message objects. Although it's possible to implement this
14
- // interface manually, most users will use the protocol compiler to
15
- // generate implementations.
13
+ // protocol message objects.
14
+ //
15
+ // This is only intended to be extended by protoc created gencode or types
16
+ // defined in the Protobuf runtime. It is not intended or supported for
17
+ // application code to extend this class, and any protected methods may be
18
+ // removed without being it being considered a breaking change as long as the
19
+ // corresponding gencode does not use it.
16
20
//
17
21
// Example usage:
18
22
//
@@ -180,7 +184,7 @@ class MessageReflectionFriend;
180
184
namespace expr {
181
185
class CelMapReflectionFriend ; // field_backed_map_impl.cc
182
186
class SudoMapReflectionFriend ;
183
- }
187
+ } // namespace expr
184
188
185
189
namespace internal {
186
190
class MapFieldPrinterHelper ; // text_format.cc
Original file line number Diff line number Diff line change 12
12
//
13
13
// Defines MessageLite, the abstract interface implemented by all (lite
14
14
// and non-lite) protocol message objects.
15
+ //
16
+ // This is only intended to be extended by protoc created gencode or types
17
+ // defined in the Protobuf runtime. It is not intended or supported for
18
+ // application code to extend this class, and any protected methods may be
19
+ // removed without being it being considered a breaking change as long as the
20
+ // corresponding gencode does not use it.
15
21
16
22
#ifndef GOOGLE_PROTOBUF_MESSAGE_LITE_H__
17
23
#define GOOGLE_PROTOBUF_MESSAGE_LITE_H__
You can’t perform that action at this time.
0 commit comments