Private Member Functions | List of all members
com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Class Reference

Private Member Functions

 UnusedPrivateParameter ()
 
 UnusedPrivateParameter ()
 

Detailed Description

This class is used to make a generated protected method inaccessible from user's code (e.g., the newInstance method below). When this class is used as a parameter's type in a generated protected method, the method is visible to user's code in the same package, but since the constructor of this class is private to protobuf runtime, user's code can't obtain an instance of this class and as such can't actually make a method call on the protected method.

Definition at line 500 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java.

Constructor & Destructor Documentation

◆ UnusedPrivateParameter() [1/2]

com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter.UnusedPrivateParameter ( )
inlineprivate

◆ UnusedPrivateParameter() [2/2]

com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter.UnusedPrivateParameter ( )
inlineprivate

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:06