Private Member Functions | |
Message.Builder | newBuilderForField (Message.Builder parent, Descriptors.FieldDescriptor field) |
Message.Builder | newBuilderForField (Message.Builder parent, Descriptors.FieldDescriptor field) |
Performs the same things that the methods of
do, but via the reflection interface. This is its own class because it needs to know what descriptor to use.
Definition at line 2653 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Construct a
that will expect messages using the given descriptor.
Normally
should be a descriptor for the type
, defined in
. However, if
is non-null, then
should be for
instead, and instead of reading and writing normal fields, the tester will read and write extensions. All of
' extensions must be registered in the registry.
Definition at line 2698 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Construct a
that will expect messages using the given descriptor.
Normally
should be a descriptor for the type
, defined in
. However, if
is non-null, then
should be for
instead, and instead of reading and writing normal fields, the tester will read and write extensions. All of
' extensions must be registered in the registry.
Definition at line 2698 of file protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Assert (using
} that all fields of
are set to the values assigned by
, using the Message reflection interface.
Definition at line 3039 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Assert (using
} that all fields of
are set to the values assigned by
, using the Message reflection interface.
Definition at line 3039 of file protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Assert (using
} that all fields of
are cleared, and that getting the fields returns their default values, using the Message reflection interface.
Definition at line 3295 of file protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Assert (using
} that all fields of
are cleared, and that getting the fields returns their default values, using the Message reflection interface.
Definition at line 3295 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Definition at line 3609 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Definition at line 3609 of file protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Verifies that the reflection repeated setters for the given Builder object throw a NullPointerException if they are passed a null value. Uses Assert to throw an appropriate assertion failure, if the condition is not verified.
Definition at line 3722 of file protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Verifies that the reflection repeated setters for the given Builder object throw a NullPointerException if they are passed a null value. Uses Assert to throw an appropriate assertion failure, if the condition is not verified.
Definition at line 3722 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Verifies that the reflection setters for the given.Builder object throw a NullPointerException if they are passed a null value. Uses Assert to throw an appropriate assertion failure, if the condition is not verified.
Definition at line 3659 of file protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Verifies that the reflection setters for the given.Builder object throw a NullPointerException if they are passed a null value. Uses Assert to throw an appropriate assertion failure, if the condition is not verified.
Definition at line 3659 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Definition at line 3464 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Definition at line 3464 of file protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inlineprivate |
Calls
or uses the
to find an appropriate builder, depending on what type is being tested.
Definition at line 2794 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inlineprivate |
Calls
or uses the
to find an appropriate builder, depending on what type is being tested.
Definition at line 2794 of file protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Definition at line 3577 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
inline |
Definition at line 3577 of file protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2654 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2655 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2657 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2683 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2684 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2671 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2676 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2682 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2664 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2668 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2686 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2687 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2672 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2673 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2677 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2658 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2685 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2665 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2670 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2680 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2681 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2675 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2679 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2663 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2661 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2659 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2666 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2662 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.
|
private |
Definition at line 2669 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java.