Home
last modified time | relevance | path

Searched refs:MessageDescriptor (Results 1 – 25 of 100) sorted by relevance

1234

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DTypeRegistry.cs45 …static TypeRegistry Empty { get; } = new TypeRegistry(new Dictionary<string, MessageDescriptor>());
47 private readonly Dictionary<string, MessageDescriptor> fullNameToMessageMap;
49 private TypeRegistry(Dictionary<string, MessageDescriptor> fullNameToMessageMap) in TypeRegistry()
61 public MessageDescriptor Find(string fullName) in Find()
63 MessageDescriptor ret; in Find()
113 public static TypeRegistry FromMessages(params MessageDescriptor[] messageDescriptors) in FromMessages()
115 return FromMessages((IEnumerable<MessageDescriptor>) messageDescriptors); in FromMessages()
129 public static TypeRegistry FromMessages(IEnumerable<MessageDescriptor> messageDescriptors) in FromMessages()
140 private readonly Dictionary<string, MessageDescriptor> types;
145 types = new Dictionary<string, MessageDescriptor>(); in Builder()
[all …]
DMethodDescriptor.cs42 private MessageDescriptor inputType;
43 private MessageDescriptor outputType;
53 public MessageDescriptor InputType { get { return inputType; } }
58 public MessageDescriptor OutputType { get { return outputType; } }
89 if (!(lookup is MessageDescriptor)) in CrossLink()
93 inputType = (MessageDescriptor) lookup; in CrossLink()
96 if (!(lookup is MessageDescriptor)) in CrossLink()
100 outputType = (MessageDescriptor) lookup; in CrossLink()
DMessageDescriptor.cs43 public sealed class MessageDescriptor : DescriptorBase class
63 …internal MessageDescriptor(DescriptorProto proto, FileDescriptor file, MessageDescriptor parent, i… in MessageDescriptor() method in Google.Protobuf.Reflection.MessageDescriptor
82 … new MessageDescriptor(type, file, this, index, generatedCodeInfo.NestedTypes[index])); in MessageDescriptor()
174 public MessageDescriptor ContainingType { get; }
184 public IList<MessageDescriptor> NestedTypes { get; }
224 foreach (MessageDescriptor message in NestedTypes) in CrossLink()
245 private readonly MessageDescriptor messageDescriptor;
247 internal FieldCollection(MessageDescriptor messageDescriptor) in FieldCollection()
DFieldDescriptor.cs44 private MessageDescriptor messageType;
52 public MessageDescriptor ContainingType { get; }
68 MessageDescriptor parent, int index, string propertyName) in FieldDescriptor()
241 public MessageDescriptor MessageType
266 if (typeDescriptor is MessageDescriptor) in CrossLink()
282 if (!(typeDescriptor is MessageDescriptor)) in CrossLink()
286 messageType = (MessageDescriptor) typeDescriptor; in CrossLink()
DEnumDescriptor.cs44 private readonly MessageDescriptor containingType;
48 …internal EnumDescriptor(EnumDescriptorProto proto, FileDescriptor file, MessageDescriptor parent, … in EnumDescriptor()
83 public MessageDescriptor ContainingType
DOneofDescriptor.cs46 private MessageDescriptor containingType;
50 …internal OneofDescriptor(OneofDescriptorProto proto, FileDescriptor file, MessageDescriptor parent… in OneofDescriptor()
71 public MessageDescriptor ContainingType
DFileDescriptor.cs59 … new MessageDescriptor(message, this, null, index, generatedCodeInfo.NestedTypes[index])); in FileDescriptor()
73 internal string ComputeFullName(MessageDescriptor parent, string name) in ComputeFullName()
142 public IList<MessageDescriptor> MessageTypes { get; }
272 foreach (MessageDescriptor message in MessageTypes) in CrossLink()
DDescriptor.cs179 public static pbr::MessageDescriptor Descriptor {
183 pbr::MessageDescriptor pb::IMessage.Descriptor {
277 public static pbr::MessageDescriptor Descriptor {
281 pbr::MessageDescriptor pb::IMessage.Descriptor {
667 public static pbr::MessageDescriptor Descriptor {
671 pbr::MessageDescriptor pb::IMessage.Descriptor {
961 public static pbr::MessageDescriptor Descriptor {
965 pbr::MessageDescriptor pb::IMessage.Descriptor {
1096 public static pbr::MessageDescriptor Descriptor {
1100 pbr::MessageDescriptor pb::IMessage.Descriptor {
[all …]
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DWrappers.cs64 public static pbr::MessageDescriptor Descriptor {
68 pbr::MessageDescriptor pb::IMessage.Descriptor {
175 public static pbr::MessageDescriptor Descriptor {
179 pbr::MessageDescriptor pb::IMessage.Descriptor {
286 public static pbr::MessageDescriptor Descriptor {
290 pbr::MessageDescriptor pb::IMessage.Descriptor {
397 public static pbr::MessageDescriptor Descriptor {
401 pbr::MessageDescriptor pb::IMessage.Descriptor {
508 public static pbr::MessageDescriptor Descriptor {
512 pbr::MessageDescriptor pb::IMessage.Descriptor {
[all …]
DStruct.cs84 public static pbr::MessageDescriptor Descriptor {
88 pbr::MessageDescriptor pb::IMessage.Descriptor {
190 public static pbr::MessageDescriptor Descriptor {
194 pbr::MessageDescriptor pb::IMessage.Descriptor {
503 public static pbr::MessageDescriptor Descriptor {
507 pbr::MessageDescriptor pb::IMessage.Descriptor {
DType.cs100 public static pbr::MessageDescriptor Descriptor {
104 pbr::MessageDescriptor pb::IMessage.Descriptor {
341 public static pbr::MessageDescriptor Descriptor {
345 pbr::MessageDescriptor pb::IMessage.Descriptor {
825 public static pbr::MessageDescriptor Descriptor {
829 pbr::MessageDescriptor pb::IMessage.Descriptor {
1044 public static pbr::MessageDescriptor Descriptor {
1048 pbr::MessageDescriptor pb::IMessage.Descriptor {
1206 public static pbr::MessageDescriptor Descriptor {
1210 pbr::MessageDescriptor pb::IMessage.Descriptor {
DEmpty.cs57 public static pbr::MessageDescriptor Descriptor {
61 pbr::MessageDescriptor pb::IMessage.Descriptor {
DApi.cs62 public static pbr::MessageDescriptor Descriptor {
66 pbr::MessageDescriptor pb::IMessage.Descriptor {
354 public static pbr::MessageDescriptor Descriptor {
358 pbr::MessageDescriptor pb::IMessage.Descriptor {
711 public static pbr::MessageDescriptor Descriptor {
715 pbr::MessageDescriptor pb::IMessage.Descriptor {
DSourceContext.cs50 public static pbr::MessageDescriptor Descriptor {
54 pbr::MessageDescriptor pb::IMessage.Descriptor {
DFieldMask.cs195 public static pbr::MessageDescriptor Descriptor {
199 pbr::MessageDescriptor pb::IMessage.Descriptor {
DDuration.cs89 public static pbr::MessageDescriptor Descriptor {
93 pbr::MessageDescriptor pb::IMessage.Descriptor {
DTimestamp.cs101 public static pbr::MessageDescriptor Descriptor {
105 pbr::MessageDescriptor pb::IMessage.Descriptor {
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs65 MessageDescriptor messageType = TestAllTypes.Descriptor; in FileDescriptor()
69 Assert.AreEqual(messageType, file.FindTypeByName<MessageDescriptor>("TestAllTypes")); in FileDescriptor()
70 Assert.Null(file.FindTypeByName<MessageDescriptor>("NoSuchType")); in FileDescriptor()
71 Assert.Null(file.FindTypeByName<MessageDescriptor>("protobuf_unittest.TestAllTypes")); in FileDescriptor()
91 public void MessageDescriptor() in MessageDescriptor() method in Google.Protobuf.Reflection.DescriptorsTest
93 MessageDescriptor messageType = TestAllTypes.Descriptor; in MessageDescriptor()
94 MessageDescriptor nestedType = TestAllTypes.Types.NestedMessage.Descriptor; in MessageDescriptor()
122 … Assert.AreEqual(nestedType, messageType.FindDescriptor<MessageDescriptor>("NestedMessage")); in MessageDescriptor()
123 Assert.Null(messageType.FindDescriptor<MessageDescriptor>("NoSuchType")); in MessageDescriptor()
140 MessageDescriptor messageType = TestAllTypes.Descriptor; in FieldDescriptor()
DTypeRegistryTest.cs84 … private static void AssertDescriptorPresent(TypeRegistry registry, MessageDescriptor descriptor) in AssertDescriptorPresent()
89 … private static void AssertDescriptorAbsent(TypeRegistry registry, MessageDescriptor descriptor) in AssertDescriptorAbsent()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestIssues.cs91 public static pbr::MessageDescriptor Descriptor {
95 pbr::MessageDescriptor pb::IMessage.Descriptor {
169 public static pbr::MessageDescriptor Descriptor {
173 pbr::MessageDescriptor pb::IMessage.Descriptor {
247 public static pbr::MessageDescriptor Descriptor {
251 pbr::MessageDescriptor pb::IMessage.Descriptor {
333 public static pbr::MessageDescriptor Descriptor {
337 pbr::MessageDescriptor pb::IMessage.Descriptor {
476 public static pbr::MessageDescriptor Descriptor {
480 pbr::MessageDescriptor pb::IMessage.Descriptor {
[all …]
DUnittestProto3.cs243 public static pbr::MessageDescriptor Descriptor {
247 pbr::MessageDescriptor pb::IMessage.Descriptor {
1544 public static pbr::MessageDescriptor Descriptor {
1548 pbr::MessageDescriptor pb::IMessage.Descriptor {
1660 public static pbr::MessageDescriptor Descriptor {
1664 pbr::MessageDescriptor pb::IMessage.Descriptor {
1821 public static pbr::MessageDescriptor Descriptor {
1825 pbr::MessageDescriptor pb::IMessage.Descriptor {
1929 public static pbr::MessageDescriptor Descriptor {
1933 pbr::MessageDescriptor pb::IMessage.Descriptor {
[all …]
DMapUnittestProto3.cs183 public static pbr::MessageDescriptor Descriptor {
187 pbr::MessageDescriptor pb::IMessage.Descriptor {
582 public static pbr::MessageDescriptor Descriptor {
586 pbr::MessageDescriptor pb::IMessage.Descriptor {
691 public static pbr::MessageDescriptor Descriptor {
695 pbr::MessageDescriptor pb::IMessage.Descriptor {
789 public static pbr::MessageDescriptor Descriptor {
793 pbr::MessageDescriptor pb::IMessage.Descriptor {
903 public static pbr::MessageDescriptor Descriptor {
907 pbr::MessageDescriptor pb::IMessage.Descriptor {
[all …]
DUnittestImportPublicProto3.cs45 public static pbr::MessageDescriptor Descriptor {
49 pbr::MessageDescriptor pb::IMessage.Descriptor {
DUnittestImportProto3.cs59 public static pbr::MessageDescriptor Descriptor {
63 pbr::MessageDescriptor pb::IMessage.Descriptor {
/external/protobuf/csharp/src/AddressBook/
DAddressbook.cs54 public static pbr::MessageDescriptor Descriptor {
58 pbr::MessageDescriptor pb::IMessage.Descriptor {
241 public static pbr::MessageDescriptor Descriptor {
245 pbr::MessageDescriptor pb::IMessage.Descriptor {
379 public static pbr::MessageDescriptor Descriptor {
383 pbr::MessageDescriptor pb::IMessage.Descriptor {

1234