Import and usage of different package files in protobuf?
<p>I have imported an other proto which having different package name than mine. For usage of messages from other package, have accessed that message with package name.</p>

<p>For Example :</p>

<p>other.proto</p>

<pre><code>package muthu.other;

message Other{
   required float val = 1;
}
</code></pre>

<p>myproto.proto</p>

<pre><code>package muthu.test;

import "other.proto";

message MyProto{
  required string str = 1;
  optional muthu.other.Other.val = 2;
}
</code></pre>

<p>Is there a way to use <strong>val</strong> of <strong>muthu.other</strong> package directly like <strong>optional val = 2;</strong> instead of using <strong>muthu.other.Other.val</strong> ?</p>

<p>Couldn't find any help document regarding this. Help me out.</p>