Public Member Functions | |
boolean | isSupported (Class<?> clazz) |
boolean | isSupported (Class<?> clazz) |
MessageInfo | messageInfoFor (Class<?> clazz) |
MessageInfo | messageInfoFor (Class<?> clazz) |
Static Public Member Functions | |
static Proto2MessageLiteInfoFactory | getInstanceForRawMessageInfo () |
static Proto2MessageLiteInfoFactory | getInstanceForRawMessageInfo () |
static Proto2MessageLiteInfoFactory | getInstanceForStructuralMessageInfo () |
static Proto2MessageLiteInfoFactory | getInstanceForStructuralMessageInfo () |
Private Member Functions | |
MessageInfo | newRawMessageInfoForProto2MessageLite () |
MessageInfo | newRawMessageInfoForProto2MessageLite () |
Proto2MessageLiteInfoFactory (boolean produceRawMessageInfo) | |
Proto2MessageLiteInfoFactory (boolean produceRawMessageInfo) | |
MessageInfo | rawMessageInfoFor (Class<?> clazz) |
MessageInfo | rawMessageInfoFor (Class<?> clazz) |
MessageInfo | structuralMessageInfoFor (Class<?> clazz) |
MessageInfo | structuralMessageInfoFor (Class<?> clazz) |
Static Private Member Functions | |
static Field | field (Class<?> clazz, String name) |
static Field | field (Class<?> clazz, 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 | newMessageInfoForExtensionFieldGroup49 () |
static StructuralMessageInfo | newMessageInfoForExtensionFieldGroup49 () |
static StructuralMessageInfo | newMessageInfoForExtensionFieldGroupList51 () |
static StructuralMessageInfo | newMessageInfoForExtensionFieldGroupList51 () |
static StructuralMessageInfo | newMessageInfoForFieldGroup49 () |
static StructuralMessageInfo | newMessageInfoForFieldGroup49 () |
static StructuralMessageInfo | newMessageInfoForFieldGroup69 () |
static StructuralMessageInfo | newMessageInfoForFieldGroup69 () |
static StructuralMessageInfo | newMessageInfoForFieldGroupList51 () |
static StructuralMessageInfo | newMessageInfoForFieldGroupList51 () |
static StructuralMessageInfo | newMessageInfoForFieldRequiredGroup88 () |
static StructuralMessageInfo | newMessageInfoForFieldRequiredGroup88 () |
static StructuralMessageInfo | newMessageInfoForProto2EmptyLite () |
static StructuralMessageInfo | newMessageInfoForProto2EmptyLite () |
static StructuralMessageInfo | newMessageInfoForProto2MessageLite () |
static StructuralMessageInfo | newMessageInfoForProto2MessageLite () |
static StructuralMessageInfo | newMessageInfoForProto2MessageLiteWithExtensions () |
static StructuralMessageInfo | newMessageInfoForProto2MessageLiteWithExtensions () |
static StructuralMessageInfo | newMessageInfoForProto2MessageLiteWithMaps () |
static StructuralMessageInfo | newMessageInfoForProto2MessageLiteWithMaps () |
static StructuralMessageInfo | newMessageInfoForRequiredNestedMessage () |
static StructuralMessageInfo | newMessageInfoForRequiredNestedMessage () |
Private Attributes | |
final boolean | produceRawMessageInfo |
Static Private Attributes | |
static final Proto2MessageLiteInfoFactory | instanceForRawMessageInfo |
static final Proto2MessageLiteInfoFactory | instanceForStructuralMessageInfo |
A factory that generates a hard-coded info for Proto2MessageLite.
Definition at line 55 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlineprivate |
Definition at line 71 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlineprivate |
Definition at line 71 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 1308 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 1313 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestatic |
Definition at line 61 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestatic |
Definition at line 61 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestatic |
Definition at line 65 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestatic |
Definition at line 65 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inline |
Definition at line 76 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inline |
Definition at line 76 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 237 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 242 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 1316 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 1321 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inline |
Definition at line 81 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inline |
Definition at line 81 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 869 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 874 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 885 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 890 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 777 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 782 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 809 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 814 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 793 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 798 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 841 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 846 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 857 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 862 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Creates a new hard-coded info for Proto2MessageLite. 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 227 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Creates a new hard-coded info for Proto2MessageLite. 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 232 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 863 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 868 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 902 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 907 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 825 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlinestaticprivate |
Definition at line 830 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlineprivate |
Definition at line 93 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlineprivate |
Definition at line 93 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlineprivate |
Definition at line 85 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlineprivate |
Definition at line 85 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlineprivate |
Definition at line 193 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
inlineprivate |
Definition at line 198 of file protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
staticprivate |
Definition at line 56 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
staticprivate |
Definition at line 58 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.
|
private |
Definition at line 69 of file bloaty/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java.