A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/protocolbuffers/protobuf/commit/c3177fb1e26f2c9a4e9c877663ef20898bf07f55 below:

Update Java gencode base class documentation to clarify that it is no… · protocolbuffers/protobuf@c3177fb · GitHub

File tree Expand file treeCollapse file tree 8 files changed

+41

-2

lines changed

Filter options

Expand file treeCollapse file tree 8 files changed

+41

-2

lines changed Original file line number Diff line number Diff line change

@@ -24,6 +24,13 @@

24 24

* A partial implementation of the {@link Message} interface which implements as many methods of

25 25

* that interface as possible in terms of other methods.

26 26

*

27 +

* <p>Users should generally ignore this class and use the Message interface instead.

28 +

*

29 +

* <p>This class is intended to only be extended by protoc created gencode. It is not intended or

30 +

* supported to extend this class, and any protected methods may be removed without it being

31 +

* considered a breaking change as long as all supported gencode does not depend on the changed

32 +

* methods.

33 +

*

27 34

* @author kenton@google.com Kenton Varda

28 35

*/

29 36

public abstract class AbstractMessage

Original file line number Diff line number Diff line change

@@ -22,6 +22,13 @@

22 22

* A partial implementation of the {@link MessageLite} interface which implements as many methods of

23 23

* that interface as possible in terms of other methods.

24 24

*

25 +

* <p>Users should generally ignore this class and use the MessageLite interface instead.

26 +

*

27 +

* <p>This class is intended to only be extended by protoc created gencode. It is not intended or

28 +

* supported to extend this class, and any protected methods may be removed without it being

29 +

* considered a breaking change as long as all supported gencode does not depend on the changed

30 +

* methods.

31 +

*

25 32

* @author kenton@google.com Kenton Varda

26 33

*/

27 34

public abstract class AbstractMessageLite<

Original file line number Diff line number Diff line change

@@ -38,8 +38,14 @@

38 38 39 39

/**

40 40

* All generated protocol message classes extend this class. This class implements most of the

41 -

* Message and Builder interfaces using Java reflection. Users can ignore this class and pretend

42 -

* that generated messages implement the Message interface directly.

41 +

* Message and Builder interfaces using Java reflection.

42 +

*

43 +

* <p>Users should generally ignore this class and use the Message interface instead.

44 +

*

45 +

* <p>This class is intended to only be extended by protoc created gencode. It is not intended or

46 +

* supported to extend this class, and any protected methods may be removed without it being

47 +

* considered a breaking change as long as all supported gencode does not depend on the changed

48 +

* methods.

43 49

*

44 50

* @author kenton@google.com Kenton Varda

45 51

*/

Original file line number Diff line number Diff line change

@@ -31,6 +31,13 @@

31 31

/**

32 32

* Lite version of {@link GeneratedMessage}.

33 33

*

34 +

* <p>Users should generally ignore this class and use the MessageLite interface instead.

35 +

*

36 +

* <p>This class is intended to only be extended by protoc created gencode. It is not intended or

37 +

* supported to extend this class, and any protected methods may be removed without it being

38 +

* considered a breaking change as long as all supported gencode does not depend on the changed

39 +

* methods.

40 +

*

34 41

* @author kenton@google.com Kenton Varda

35 42

*/

36 43

public abstract class GeneratedMessageLite<

Original file line number Diff line number Diff line change

@@ -14,6 +14,9 @@

14 14

/**

15 15

* Abstract interface implemented by Protocol Message objects.

16 16

*

17 +

* <p>This interface is intended to only be implemented by protoc created gencode. It is not

18 +

* intended or supported to implement this interface manually.

19 +

*

17 20

* <p>See also {@link MessageLite}, which defines most of the methods that typical users care about.

18 21

* {@link Message} adds methods that are not available in the "lite" runtime. The biggest added

19 22

* features are introspection and reflection; that is, getting descriptors for the message type and

Original file line number Diff line number Diff line change

@@ -14,6 +14,9 @@

14 14

/**

15 15

* Abstract interface implemented by Protocol Message objects.

16 16

*

17 +

* <p>This interface is intended to only be implemented by protoc created gencode. It is not

18 +

* intended or supported to implement this interface manually.

19 +

*

17 20

* <p>This interface is implemented by all protocol message objects. Non-lite messages additionally

18 21

* implement the Message interface, which is a subclass of MessageLite. Use MessageLite instead when

19 22

* you only need the subset of features which it supports -- namely, nothing that uses descriptors

Original file line number Diff line number Diff line change

@@ -11,6 +11,9 @@

11 11

* Base interface for methods common to {@link MessageLite} and {@link MessageLite.Builder} to

12 12

* provide type equivalency.

13 13

*

14 +

* <p>This interface is intended to only be implemented by protoc created gencode. It is not

15 +

* intended or supported to implement this interface manually.

16 +

*

14 17

* @author jonp@google.com (Jon Perlow)

15 18

*/

16 19

@CheckReturnValue

Original file line number Diff line number Diff line change

@@ -14,6 +14,9 @@

14 14

* Base interface for methods common to {@link Message} and {@link Message.Builder} to provide type

15 15

* equivalency.

16 16

*

17 +

* <p>This interface is intended to only be implemented by protoc created gencode. It is not

18 +

* intended or supported to implement this interface manually.

19 +

*

17 20

* @author jonp@google.com (Jon Perlow)

18 21

*/

19 22

@CheckReturnValue

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4