Searched refs:messageDescriptor (Results 1 – 5 of 5) sorted by relevance
296 private readonly MessageDescriptor messageDescriptor; field in Google.Protobuf.Reflection.MessageDescriptor.FieldCollection298 internal FieldCollection(MessageDescriptor messageDescriptor) in FieldCollection() argument300 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);
165 private void AddMessage(MessageDescriptor messageDescriptor) in AddMessage() argument167 foreach (var nestedType in messageDescriptor.NestedTypes) in AddMessage()174 types[messageDescriptor.FullName] = messageDescriptor; in AddMessage()
209 internal FieldDescriptor FindFieldByNumber(MessageDescriptor messageDescriptor, int number) in FindFieldByNumber() argument212 … fieldsByNumber.TryGetValue(new ObjectIntPair<IDescriptor>(messageDescriptor, number), out ret); in FindFieldByNumber()
117 private void AddMessage(MessageDescriptor messageDescriptor) in AddMessage() argument119 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()
102 private static MessageInfo convert(Class<?> messageType, Descriptor messageDescriptor) { in convert() argument103 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() argument261 List<FieldDescriptor> fieldDescriptors = messageDescriptor.getFields(); in convertProto2()266 builder.withMessageSetWireFormat(messageDescriptor.getOptions().getMessageSetWireFormat()); in convertProto2()394 Class<?> messageType, Descriptor messageDescriptor) { in convertProto3() argument395 List<FieldDescriptor> fieldDescriptors = messageDescriptor.getFields(); in convertProto3()