protected virtual UmlClass CreateProfobufMessageType(MessageDescriptor messageDescriptor)
        {
            UmlClass umlClass = new UmlClass(messageDescriptor.Name);

            foreach (var field in messageDescriptor.Fields.InDeclarationOrder())
            {
                var umlField = CreateProtobufField(field);
                umlClass.UmlFields.Add(umlField);
            }
            return(umlClass);
        }
        protected virtual UmlClass CreateProfobufService(ServiceDescriptor serviceDescriptor)
        {
            UmlClass umlClass = new UmlClass(serviceDescriptor.Name);

            umlClass.Stereotype = "ProtobufService";
            foreach (MethodDescriptor method in serviceDescriptor.Methods)
            {
                var umlMethod = CreateProtobufMethod(method);
                umlClass.UmlMethods.Add(umlMethod);
            }
            return(umlClass);
        }