Home
last modified time | relevance | path

Searched refs:messageDescriptor (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DMessageDescriptor.cs296 private readonly MessageDescriptor messageDescriptor; field in Google.Protobuf.Reflection.MessageDescriptor.FieldCollection
298 internal FieldCollection(MessageDescriptor messageDescriptor) in FieldCollection() argument
300 this.messageDescriptor = messageDescriptor; in FieldCollection()
307 … public IList<FieldDescriptor> InDeclarationOrder() => messageDescriptor.fieldsInDeclarationOrder; in InDeclarationOrder()
315 … public IList<FieldDescriptor> InFieldNumberOrder() => messageDescriptor.fieldsInNumberOrder; in InFieldNumberOrder()
325 … internal IDictionary<string, FieldDescriptor> ByJsonName() => messageDescriptor.jsonFieldMap; in ByJsonName()
338 var fieldDescriptor = messageDescriptor.FindFieldByNumber(number);
358 var fieldDescriptor = messageDescriptor.FindFieldByName(name);
DTypeRegistry.cs165 private void AddMessage(MessageDescriptor messageDescriptor) in AddMessage() argument
167 foreach (var nestedType in messageDescriptor.NestedTypes) in AddMessage()
174 types[messageDescriptor.FullName] = messageDescriptor; in AddMessage()
DDescriptorPool.cs209 internal FieldDescriptor FindFieldByNumber(MessageDescriptor messageDescriptor, int number) in FindFieldByNumber() argument
212 … fieldsByNumber.TryGetValue(new ObjectIntPair<IDescriptor>(messageDescriptor, number), out ret); in FindFieldByNumber()
/external/grpc-grpc/src/csharp/Grpc.Reflection/
DSymbolRegistry.cs117 private void AddMessage(MessageDescriptor messageDescriptor) in AddMessage() argument
119 foreach (var nestedEnum in messageDescriptor.EnumTypes) in AddMessage()
123 foreach (var nestedType in messageDescriptor.NestedTypes) in AddMessage()
127 filesBySymbol[messageDescriptor.FullName] = messageDescriptor.File; in AddMessage()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptorMessageInfoFactory.java102 private static MessageInfo convert(Class<?> messageType, Descriptor messageDescriptor) { in convert() argument
103 switch (messageDescriptor.getFile().getSyntax()) { in convert()
105 return convertProto2(messageType, messageDescriptor); in convert()
107 return convertProto3(messageType, messageDescriptor); in convert()
110 "Unsupported syntax: " + messageDescriptor.getFile().getSyntax()); in convert()
260 Class<?> messageType, Descriptor messageDescriptor) { in convertProto2() argument
261 List<FieldDescriptor> fieldDescriptors = messageDescriptor.getFields(); in convertProto2()
266 builder.withMessageSetWireFormat(messageDescriptor.getOptions().getMessageSetWireFormat()); in convertProto2()
394 Class<?> messageType, Descriptor messageDescriptor) { in convertProto3() argument
395 List<FieldDescriptor> fieldDescriptors = messageDescriptor.getFields(); in convertProto3()