Public Member Functions | |
boolean | isSupported (Class<?> clazz) |
boolean | isSupported (Class<?> clazz) |
MessageInfo | messageInfoFor (Class<?> clazz) |
MessageInfo | messageInfoFor (Class<?> clazz) |
Static Public Member Functions | |
static Proto3MessageInfoFactory | getInstance () |
static Proto3MessageInfoFactory | getInstance () |
Private Member Functions | |
StructuralMessageInfo | newMessageInfoForProto3Empty () |
StructuralMessageInfo | newMessageInfoForProto3Empty () |
StructuralMessageInfo | newMessageInfoForProto3MessageWithMaps () |
StructuralMessageInfo | newMessageInfoForProto3MessageWithMaps () |
Proto3MessageInfoFactory () | |
Proto3MessageInfoFactory () | |
Static Private Member Functions | |
static Field | field (Class<?> clazz, String name) |
static Field | field (Class<?> clazz, String name) |
static Field | field (String name) |
static Field | field (String name) |
static void | lookupFieldsByName (StructuralMessageInfo.Builder builder) |
static void | lookupFieldsByName (StructuralMessageInfo.Builder builder) |
static FieldInfo | mapFieldInfo (Class<?> clazz, String fieldName, int fieldNumber) |
static FieldInfo | mapFieldInfo (Class<?> clazz, String fieldName, int fieldNumber) |
static StructuralMessageInfo | newMessageInfoForProto3Message () |
static StructuralMessageInfo | newMessageInfoForProto3Message () |
Static Private Attributes | |
static final Proto3MessageInfoFactory | INSTANCE = new Proto3MessageInfoFactory() |
A factory that generates a hard-coded info for Proto3Message.
Definition at line 45 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlineprivate |
Definition at line 48 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlineprivate |
Definition at line 48 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 487 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 487 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 483 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 483 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlinestatic |
Definition at line 50 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlinestatic |
Definition at line 50 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inline |
Definition at line 55 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inline |
Definition at line 55 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 84 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 84 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 495 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 495 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inline |
Definition at line 60 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inline |
Definition at line 60 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlineprivate |
Definition at line 174 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlineprivate |
Definition at line 174 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
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 protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
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 bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlineprivate |
Definition at line 180 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
inlineprivate |
Definition at line 180 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.
|
staticprivate |
Definition at line 46 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java.