Home
last modified time | relevance | path

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

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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.cs47 public sealed class MessageDescriptor : DescriptorBase class
67 …internal MessageDescriptor(DescriptorProto proto, FileDescriptor file, MessageDescriptor parent, i… in MessageDescriptor() method in Google.Protobuf.Reflection.MessageDescriptor
86 … new MessageDescriptor(type, file, this, index, generatedCodeInfo.NestedTypes[index])); in MessageDescriptor()
178 public MessageDescriptor ContainingType { get; }
188 public IList<MessageDescriptor> NestedTypes { get; }
228 foreach (MessageDescriptor message in NestedTypes) in CrossLink()
249 private readonly MessageDescriptor messageDescriptor;
251 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.cs183 public static pbr::MessageDescriptor Descriptor {
188 pbr::MessageDescriptor pb::IMessage.Descriptor {
295 public static pbr::MessageDescriptor Descriptor {
300 pbr::MessageDescriptor pb::IMessage.Descriptor {
710 public static pbr::MessageDescriptor Descriptor {
715 pbr::MessageDescriptor pb::IMessage.Descriptor {
1027 public static pbr::MessageDescriptor Descriptor {
1032 pbr::MessageDescriptor pb::IMessage.Descriptor {
1177 public static pbr::MessageDescriptor Descriptor {
1182 pbr::MessageDescriptor pb::IMessage.Descriptor {
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DWrappers.cs64 public static pbr::MessageDescriptor Descriptor {
69 pbr::MessageDescriptor pb::IMessage.Descriptor {
189 public static pbr::MessageDescriptor Descriptor {
194 pbr::MessageDescriptor pb::IMessage.Descriptor {
314 public static pbr::MessageDescriptor Descriptor {
319 pbr::MessageDescriptor pb::IMessage.Descriptor {
439 public static pbr::MessageDescriptor Descriptor {
444 pbr::MessageDescriptor pb::IMessage.Descriptor {
564 public static pbr::MessageDescriptor Descriptor {
569 pbr::MessageDescriptor pb::IMessage.Descriptor {
[all …]
DEmpty.cs57 public static pbr::MessageDescriptor Descriptor {
62 pbr::MessageDescriptor pb::IMessage.Descriptor {
DStruct.cs84 public static pbr::MessageDescriptor Descriptor {
89 pbr::MessageDescriptor pb::IMessage.Descriptor {
204 public static pbr::MessageDescriptor Descriptor {
209 pbr::MessageDescriptor pb::IMessage.Descriptor {
538 public static pbr::MessageDescriptor Descriptor {
543 pbr::MessageDescriptor pb::IMessage.Descriptor {
DFieldMask.cs247 public static pbr::MessageDescriptor Descriptor {
252 pbr::MessageDescriptor pb::IMessage.Descriptor {
DSourceContext.cs50 public static pbr::MessageDescriptor Descriptor {
55 pbr::MessageDescriptor pb::IMessage.Descriptor {
DType.cs100 public static pbr::MessageDescriptor Descriptor {
105 pbr::MessageDescriptor pb::IMessage.Descriptor {
360 public static pbr::MessageDescriptor Descriptor {
365 pbr::MessageDescriptor pb::IMessage.Descriptor {
867 public static pbr::MessageDescriptor Descriptor {
872 pbr::MessageDescriptor pb::IMessage.Descriptor {
1104 public static pbr::MessageDescriptor Descriptor {
1109 pbr::MessageDescriptor pb::IMessage.Descriptor {
1282 public static pbr::MessageDescriptor Descriptor {
1287 pbr::MessageDescriptor pb::IMessage.Descriptor {
DTimestamp.cs101 public static pbr::MessageDescriptor Descriptor {
106 pbr::MessageDescriptor pb::IMessage.Descriptor {
DDuration.cs89 public static pbr::MessageDescriptor Descriptor {
94 pbr::MessageDescriptor pb::IMessage.Descriptor {
DApi.cs62 public static pbr::MessageDescriptor Descriptor {
67 pbr::MessageDescriptor pb::IMessage.Descriptor {
374 public static pbr::MessageDescriptor Descriptor {
379 pbr::MessageDescriptor pb::IMessage.Descriptor {
751 public static pbr::MessageDescriptor Descriptor {
756 pbr::MessageDescriptor pb::IMessage.Descriptor {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestIssues.cs91 public static pbr::MessageDescriptor Descriptor {
96 pbr::MessageDescriptor pb::IMessage.Descriptor {
182 public static pbr::MessageDescriptor Descriptor {
187 pbr::MessageDescriptor pb::IMessage.Descriptor {
273 public static pbr::MessageDescriptor Descriptor {
278 pbr::MessageDescriptor pb::IMessage.Descriptor {
372 public static pbr::MessageDescriptor Descriptor {
377 pbr::MessageDescriptor pb::IMessage.Descriptor {
531 public static pbr::MessageDescriptor Descriptor {
536 pbr::MessageDescriptor pb::IMessage.Descriptor {
[all …]
DUnittestProto3.cs243 public static pbr::MessageDescriptor Descriptor {
248 pbr::MessageDescriptor pb::IMessage.Descriptor {
1607 public static pbr::MessageDescriptor Descriptor {
1612 pbr::MessageDescriptor pb::IMessage.Descriptor {
1737 public static pbr::MessageDescriptor Descriptor {
1742 pbr::MessageDescriptor pb::IMessage.Descriptor {
1914 public static pbr::MessageDescriptor Descriptor {
1919 pbr::MessageDescriptor pb::IMessage.Descriptor {
2036 public static pbr::MessageDescriptor Descriptor {
2041 pbr::MessageDescriptor pb::IMessage.Descriptor {
[all …]
DUnittestImportPublicProto3.cs45 public static pbr::MessageDescriptor Descriptor {
50 pbr::MessageDescriptor pb::IMessage.Descriptor {
DUnittestImportProto3.cs59 public static pbr::MessageDescriptor Descriptor {
64 pbr::MessageDescriptor pb::IMessage.Descriptor {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/
DAddressbook.cs54 public static pbr::MessageDescriptor Descriptor {
59 pbr::MessageDescriptor pb::IMessage.Descriptor {
258 public static pbr::MessageDescriptor Descriptor {
263 pbr::MessageDescriptor pb::IMessage.Descriptor {
411 public static pbr::MessageDescriptor Descriptor {
416 pbr::MessageDescriptor pb::IMessage.Descriptor {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DIMessage.cs69 MessageDescriptor Descriptor { get; }

12