title: Need to convert python dict in proto message format for gRPC
body: <p>I have a format like this and want to convert my python dict to this proto format
  proto code:</p>
  
  <pre><code>message template{
  
   message NicSettings{
      string network_adapter = 1;
      string network_name = 2;
   }
  
   message NetConfig{
      bool keep_mac_address =1;
      bool same_as_source = 2;
     repeated  NicSettings nic_settings = 3;
   }
  
   NetworkConfig network_config = 3;
  </code></pre>
  
  <p>}</p>
  
  <p>python dict:</p>
  
  <pre><code> template:
    { keepMacAddress: true, 
      sameAsSource : false, 
      nicSettings: [ {networkAdapter: "ethernet0", 
                      networkName: "Calpal1"
                      } ,
                      {networkAdapter: "ethernet1", 
                      networkName: "Calpal2"
                      } 
                   ] 
     }
  </code></pre>
  
  <p>How do I convert this to a proto message to pass it to gRPC.</p>