generated/protos/google/protobuf/unittest.pb library

Classes

BarRequest
BarResponse
FooRequest
Test that RPC services work.
FooResponse
ForeignEnum
ForeignMessage
Define these after TestAllTypes to make sure the compiler can handle that.
OneBytes
OneString
Test String and Bytes: string is for valid UTF-8 strings
OptionalGroup_extension
RepeatedGroup_extension
SparseEnumMessage
TestAllExtensions
TestAllTypes
This proto includes every type of field in both singular and repeated forms.
TestAllTypes_NestedEnum
TestAllTypes_NestedMessage
TestAllTypes_OptionalGroup
TestAllTypes_RepeatedGroup
TestCamelCaseFieldNames
Test message with CamelCase field names. This violates Protocol Buffer standard style.
TestDeprecatedFields
TestDupFieldNumber
Test that groups have disjoint field numbers from their siblings and parents. This is NOT possible in proto1; only proto2. When attempting to compile with proto1, this will emit an error; so we only include it in protobuf_unittest_proto.
TestDupFieldNumber_Bar
TestDupFieldNumber_Foo
TestDynamicExtensions
Used by ExtensionSetTest/DynamicExtensions. The test actually builds a set of extensions to TestAllExtensions dynamically, based on the fields of this message type.
TestDynamicExtensions_DynamicEnumType
TestDynamicExtensions_DynamicMessageType
TestEmptyMessage
TestEmptyMessage is used to test unknown field support.
TestEmptyMessageWithExtensions
Like above, but declare all field numbers as potential extensions. No actual extensions should ever be defined for this type.
TestEnumWithDupValue
Test an enum that has multiple values with the same number.
TestExtremeDefaultValues
TestFieldOrderings
We list fields out of order, to ensure that we're using field number and not field index to determine serialization order.
TestForeignNested
Test that we can use NestedMessage from outside TestAllTypes.
TestMultipleExtensionRanges
TestMutualRecursionA
Test that mutual recursion works.
TestMutualRecursionB
TestNestedExtension
TestNestedMessageHasBits
Needed for a Python test.
TestNestedMessageHasBits_NestedMessage
TestPackedExtensions
TestPackedTypes
TestReallyLargeTagNumber
Test that really large tag numbers don't break anything.
TestRecursiveMessage
TestRepeatedScalarDifferentTagSizes
TestRequired
We have separate messages for testing required fields because it's annoying to have to fill in required fields in TestProto in order to do anything with it. Note that we don't need to test every type of required filed because the code output is basically identical to optional fields for all types.
TestRequiredForeign
TestServiceApi
TestSparseEnum
Test an enum with large, unordered values.
TestUnpackedTypes
A message with the same fields as TestPackedTypes, but without packing. Used to test packed <-> unpacked wire compatibility.
Unittest

Extensions

GeneratedMessageGenericExtensions on T
Extensions on GeneratedMessages.