I am trying to import one proto file into another. Both are in the same
package. Receive EmbeddedEventMsg: File not found.error
This is "EmbeddedEventMsg.proto"
option java_package="us.abb";
option java_outer_classname = "EmbeddedEventMsgProto";
message EmbeddedEventMsg{
optional int32 EXEC_INSTRUCT = 1;
optional int32 EXEC_COMPLETE = 2;
optional sint32 UNKNOWN_INT = 3;
}
This is "NetworkOpSecurityRequestMsg.proto"
import "EmbeddedEventMsg";
option java_package="us.abb";
option java_outer_classname = "NetworkOpSecurityRequestMsgProto";
message NetworkOpSecurityRequestMsg{
optional int32 operation=1;
optional int32 objCat=2;
optional int32 objId=3;
optional string objDisId=4;
repeated EmbeddedEventMsg embEventMsg=33;
//repeated TipcMsg tagOpMsg;
}
message EmbeddedEventMsg{
optional int32 EXEC_INSTRUCT = 1;
optional int32 EXEC_COMPLETE = 2;
optional sint32 UNKNOWN_INT = 3;
}
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.