/external/protobuf/python/google/protobuf/internal/ |
generator_test.py | 47 from google.protobuf import unittest_pb2 namespace 58 proto_type = unittest_pb2.TestAllTypes 67 self.assertEqual(4, unittest_pb2.FOREIGN_FOO) 68 self.assertEqual(5, unittest_pb2.FOREIGN_BAR) 69 self.assertEqual(6, unittest_pb2.FOREIGN_BAZ) 71 proto = unittest_pb2.TestAllTypes() 73 self.assertEqual(1, unittest_pb2.TestAllTypes.FOO) 75 self.assertEqual(2, unittest_pb2.TestAllTypes.BAR) 77 self.assertEqual(3, unittest_pb2.TestAllTypes.BAZ) 80 message = unittest_pb2.TestExtremeDefaultValues( [all...] |
reflection_test.py | 48 from google.protobuf import unittest_pb2 namespace 114 proto = unittest_pb2.TestAllTypes( 125 proto = unittest_pb2.TestAllTypes( 138 proto = unittest_pb2.TestAllTypes( 140 unittest_pb2.TestAllTypes.NestedMessage( 141 bb=unittest_pb2.TestAllTypes.FOO), 142 unittest_pb2.TestAllTypes.NestedMessage( 143 bb=unittest_pb2.TestAllTypes.BAR)], 145 unittest_pb2.ForeignMessage(c=-43), 146 unittest_pb2.ForeignMessage(c=45324) [all...] |
message_test.py | 48 from google.protobuf import unittest_pb2 namespace 56 golden_message = unittest_pb2.TestAllTypes() 63 golden_message = unittest_pb2.TestAllExtensions() 65 all_set = unittest_pb2.TestAllExtensions() 72 golden_message = unittest_pb2.TestPackedTypes() 74 all_set = unittest_pb2.TestPackedTypes() 81 golden_message = unittest_pb2.TestPackedExtensions() 83 all_set = unittest_pb2.TestPackedExtensions()
|
service_reflection_test.py | 38 from google.protobuf import unittest_pb2 namespace 59 class MyService(unittest_pb2.TestService): 70 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) 77 service_descriptor = unittest_pb2.TestService.GetDescriptor() 79 unittest_pb2.BarRequest(), MyCallback) 84 class MyServiceImpl(unittest_pb2.TestService): 92 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) 98 unittest_pb2.BarRequest(), MyCallback) 117 stub = unittest_pb2.TestService_Stub(channel) 122 self.assertEqual(unittest_pb2.TestService_Stub.GetDescriptor() [all...] |
test_util.py | 42 from google.protobuf import unittest_pb2 namespace 49 message: A unittest_pb2.TestAllTypes instance. 83 message.optional_nested_enum = unittest_pb2.TestAllTypes.BAZ 84 message.optional_foreign_enum = unittest_pb2.FOREIGN_BAZ 115 message.repeated_nested_enum.append(unittest_pb2.TestAllTypes.BAR) 116 message.repeated_foreign_enum.append(unittest_pb2.FOREIGN_BAR) 144 message.repeated_nested_enum.append(unittest_pb2.TestAllTypes.BAZ) 145 message.repeated_foreign_enum.append(unittest_pb2.FOREIGN_BAZ) 171 message.default_nested_enum = unittest_pb2.TestAllTypes.FOO 172 message.default_foreign_enum = unittest_pb2.FOREIGN_FO [all...] |
text_format_test.py | 42 from google.protobuf import unittest_pb2 namespace 67 message = unittest_pb2.TestAllTypes() 74 message = unittest_pb2.TestAllExtensions() 97 message = unittest_pb2.TestAllTypes() 115 message = unittest_pb2.ForeignMessage() 127 parsed_message = unittest_pb2.TestAllTypes() 130 message = unittest_pb2.TestAllTypes() 137 parsed_message = unittest_pb2.TestAllExtensions() 140 message = unittest_pb2.TestAllExtensions() 145 message = unittest_pb2.TestAllTypes( [all...] |
descriptor_test.py | 39 from google.protobuf import unittest_pb2 namespace 158 unittest_pb2.TestEmptyMessage.DESCRIPTOR, 174 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR, 191 unittest_pb2.TestForeignNested.DESCRIPTOR, 213 unittest_pb2._FOREIGNENUM, 232 unittest_pb2.TestDeprecatedFields.DESCRIPTOR, 246 unittest_pb2.TestEmptyMessageWithExtensions.DESCRIPTOR, 268 unittest_pb2.TestMultipleExtensionRanges.DESCRIPTOR, 328 unittest_pb2.TestService.DESCRIPTOR,
|
/external/protobuf/ |
.gitignore | 39 python/google/protobuf/unittest_pb2.py
|