Home
last modified time | relevance | path

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

123

/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 …]
/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()
/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 …]
/external/grpc-grpc/src/csharp/Grpc.Examples/
DMath.cs57 public static pbr::MessageDescriptor Descriptor {
62 pbr::MessageDescriptor pb::IMessage.Descriptor {
214 public static pbr::MessageDescriptor Descriptor {
219 pbr::MessageDescriptor pb::IMessage.Descriptor {
371 public static pbr::MessageDescriptor Descriptor {
376 pbr::MessageDescriptor pb::IMessage.Descriptor {
500 public static pbr::MessageDescriptor Descriptor {
505 pbr::MessageDescriptor pb::IMessage.Descriptor {
629 public static pbr::MessageDescriptor Descriptor {
634 pbr::MessageDescriptor pb::IMessage.Descriptor {
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DMessages.cs104 public static pbr::MessageDescriptor Descriptor {
109 pbr::MessageDescriptor pb::IMessage.Descriptor {
239 public static pbr::MessageDescriptor Descriptor {
244 pbr::MessageDescriptor pb::IMessage.Descriptor {
406 public static pbr::MessageDescriptor Descriptor {
411 pbr::MessageDescriptor pb::IMessage.Descriptor {
566 public static pbr::MessageDescriptor Descriptor {
571 pbr::MessageDescriptor pb::IMessage.Descriptor {
946 public static pbr::MessageDescriptor Descriptor {
951 pbr::MessageDescriptor pb::IMessage.Descriptor {
[all …]
DPayloads.cs56 public static pbr::MessageDescriptor Descriptor {
61 pbr::MessageDescriptor pb::IMessage.Descriptor {
213 public static pbr::MessageDescriptor Descriptor {
218 pbr::MessageDescriptor pb::IMessage.Descriptor {
374 public static pbr::MessageDescriptor Descriptor {
379 pbr::MessageDescriptor pb::IMessage.Descriptor {
475 public static pbr::MessageDescriptor Descriptor {
480 pbr::MessageDescriptor pb::IMessage.Descriptor {
DMetrics.cs58 public static pbr::MessageDescriptor Descriptor {
63 pbr::MessageDescriptor pb::IMessage.Descriptor {
308 public static pbr::MessageDescriptor Descriptor {
313 pbr::MessageDescriptor pb::IMessage.Descriptor {
437 public static pbr::MessageDescriptor Descriptor {
442 pbr::MessageDescriptor pb::IMessage.Descriptor {
/external/perfetto/src/trace_processor/
Dftrace_descriptors.h43 struct MessageDescriptor { struct
49 MessageDescriptor* GetMessageDescriptorForId(size_t id); argument
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuide/
DRouteGuide.cs70 public static pbr::MessageDescriptor Descriptor {
75 pbr::MessageDescriptor pb::IMessage.Descriptor {
231 public static pbr::MessageDescriptor Descriptor {
236 pbr::MessageDescriptor pb::IMessage.Descriptor {
411 public static pbr::MessageDescriptor Descriptor {
416 pbr::MessageDescriptor pb::IMessage.Descriptor {
583 public static pbr::MessageDescriptor Descriptor {
588 pbr::MessageDescriptor pb::IMessage.Descriptor {
759 public static pbr::MessageDescriptor Descriptor {
764 pbr::MessageDescriptor pb::IMessage.Descriptor {
/external/grpc-grpc/examples/csharp/HelloworldXamarin/HelloworldXamarin/
DHelloworld.cs51 public static pbr::MessageDescriptor Descriptor {
56 pbr::MessageDescriptor pb::IMessage.Descriptor {
171 public static pbr::MessageDescriptor Descriptor {
176 pbr::MessageDescriptor pb::IMessage.Descriptor {
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/CoreStats/
DStats.cs53 public static pbr::MessageDescriptor Descriptor {
58 pbr::MessageDescriptor pb::IMessage.Descriptor {
210 public static pbr::MessageDescriptor Descriptor {
215 pbr::MessageDescriptor pb::IMessage.Descriptor {
331 public static pbr::MessageDescriptor Descriptor {
336 pbr::MessageDescriptor pb::IMessage.Descriptor {
555 public static pbr::MessageDescriptor Descriptor {
560 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 {
/external/python/apitools/apitools/base/protorpclite/
Ddescriptor_test.py218 expected = descriptor.MessageDescriptor()
231 expected = descriptor.MessageDescriptor()
260 expected = descriptor.MessageDescriptor()
276 expected = descriptor.MessageDescriptor()
354 message1 = descriptor.MessageDescriptor()
357 message2 = descriptor.MessageDescriptor()
483 self.packageless = descriptor.MessageDescriptor()
/external/grpc-grpc/src/csharp/Grpc.Reflection/
DReflection.cs84 public static pbr::MessageDescriptor Descriptor {
89 pbr::MessageDescriptor pb::IMessage.Descriptor {
431 public static pbr::MessageDescriptor Descriptor {
436 pbr::MessageDescriptor pb::IMessage.Descriptor {
594 public static pbr::MessageDescriptor Descriptor {
599 pbr::MessageDescriptor pb::IMessage.Descriptor {
960 public static pbr::MessageDescriptor Descriptor {
965 pbr::MessageDescriptor pb::IMessage.Descriptor {
1090 public static pbr::MessageDescriptor Descriptor {
1095 pbr::MessageDescriptor pb::IMessage.Descriptor {
[all …]
/external/grpc-grpc/examples/csharp/Helloworld/Greeter/
DHelloworld.cs54 public static pbr::MessageDescriptor Descriptor {
59 pbr::MessageDescriptor pb::IMessage.Descriptor {
186 public static pbr::MessageDescriptor Descriptor {
191 pbr::MessageDescriptor pb::IMessage.Descriptor {
/external/grpc-grpc/examples/csharp/HelloworldLegacyCsproj/Greeter/
DHelloworld.cs54 public static pbr::MessageDescriptor Descriptor {
59 pbr::MessageDescriptor pb::IMessage.Descriptor {
186 public static pbr::MessageDescriptor Descriptor {
191 pbr::MessageDescriptor pb::IMessage.Descriptor {

123