A factory that generates a hard-coded info for Proto3Message.
Definition at line 45 of file Proto3MessageInfoFactory.java.
◆ Proto3MessageInfoFactory()
com.google.protobuf.Proto3MessageInfoFactory.Proto3MessageInfoFactory |
( |
| ) |
|
|
inlineprivate |
◆ field() [1/2]
static Field com.google.protobuf.Proto3MessageInfoFactory.field |
( |
Class<?> |
clazz, |
|
|
String |
name |
|
) |
| |
|
inlinestaticprivate |
◆ field() [2/2]
static Field com.google.protobuf.Proto3MessageInfoFactory.field |
( |
String |
name | ) |
|
|
inlinestaticprivate |
◆ getInstance()
◆ isSupported()
boolean com.google.protobuf.Proto3MessageInfoFactory.isSupported |
( |
Class<?> |
clazz | ) |
|
|
inline |
◆ lookupFieldsByName()
◆ mapFieldInfo()
static FieldInfo com.google.protobuf.Proto3MessageInfoFactory.mapFieldInfo |
( |
Class<?> |
clazz, |
|
|
String |
fieldName, |
|
|
int |
fieldNumber |
|
) |
| |
|
inlinestaticprivate |
◆ messageInfoFor()
MessageInfo com.google.protobuf.Proto3MessageInfoFactory.messageInfoFor |
( |
Class<?> |
clazz | ) |
|
|
inline |
◆ newMessageInfoForProto3Empty()
StructuralMessageInfo com.google.protobuf.Proto3MessageInfoFactory.newMessageInfoForProto3Empty |
( |
| ) |
|
|
inlineprivate |
◆ newMessageInfoForProto3Message()
static StructuralMessageInfo com.google.protobuf.Proto3MessageInfoFactory.newMessageInfoForProto3Message |
( |
| ) |
|
|
inlinestaticprivate |
Creates a new hard-coded info for Proto3Message. Each time this is called, we manually go through the entire process of what a message would do if it self-registered its own info, including looking up each field by name. This is done for benchmarking purposes, so that we get a more accurate representation of the time it takes to perform this process.
Definition at line 78 of file Proto3MessageInfoFactory.java.
◆ newMessageInfoForProto3MessageWithMaps()
StructuralMessageInfo com.google.protobuf.Proto3MessageInfoFactory.newMessageInfoForProto3MessageWithMaps |
( |
| ) |
|
|
inlineprivate |
◆ INSTANCE
The documentation for this class was generated from the following file: