A factory that generates a hard-coded info for Proto3MessageLite.
Definition at line 44 of file Proto3MessageLiteInfoFactory.java.
◆ Proto3MessageLiteInfoFactory()
com.google.protobuf.Proto3MessageLiteInfoFactory.Proto3MessageLiteInfoFactory |
( |
boolean |
produceRawMessageInfo | ) |
|
|
inlineprivate |
◆ field()
static Field com.google.protobuf.Proto3MessageLiteInfoFactory.field |
( |
Class<?> |
clazz, |
|
|
String |
name |
|
) |
| |
|
inlinestaticprivate |
◆ getInstanceForRawMessageInfo()
◆ getInstanceForStructuralMessageInfo()
◆ isSupported()
boolean com.google.protobuf.Proto3MessageLiteInfoFactory.isSupported |
( |
Class<?> |
clazz | ) |
|
|
inline |
◆ lookupFieldsByName()
◆ mapFieldInfo()
static FieldInfo com.google.protobuf.Proto3MessageLiteInfoFactory.mapFieldInfo |
( |
Class<?> |
clazz, |
|
|
String |
fieldName, |
|
|
int |
fieldNumber |
|
) |
| |
|
inlinestaticprivate |
◆ messageInfoFor()
MessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.messageInfoFor |
( |
Class<?> |
clazz | ) |
|
|
inline |
◆ newMessageInfoForProto3EmptyLite()
StructuralMessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.newMessageInfoForProto3EmptyLite |
( |
| ) |
|
|
inlineprivate |
◆ newMessageInfoForProto3MessageLite()
static StructuralMessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.newMessageInfoForProto3MessageLite |
( |
| ) |
|
|
inlinestaticprivate |
Creates a new hard-coded info for Proto3MessageLite. 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 169 of file Proto3MessageLiteInfoFactory.java.
◆ newMessageInfoForProto3MessageLiteWithMaps()
static StructuralMessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.newMessageInfoForProto3MessageLiteWithMaps |
( |
| ) |
|
|
inlinestaticprivate |
◆ newRawMessageInfoForProto3MessageLite()
MessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.newRawMessageInfoForProto3MessageLite |
( |
| ) |
|
|
inlineprivate |
◆ rawMessageInfoFor()
MessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.rawMessageInfoFor |
( |
Class<?> |
clazz | ) |
|
|
inlineprivate |
◆ structuralMessageInfoFor()
MessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.structuralMessageInfoFor |
( |
Class<?> |
clazz | ) |
|
|
inlineprivate |
◆ instanceForRawMessageInfo
◆ instanceForStructuralMessageInfo
◆ produceRawMessageInfo
final boolean com.google.protobuf.Proto3MessageLiteInfoFactory.produceRawMessageInfo |
|
private |
The documentation for this class was generated from the following file: