179180181182183184185186
*/ public static byte[] toMessage(Message message) throws InvalidProtocolBufferException { Action action = (Action) message; MessageProto proto = ProtobufUtil.convertWriteAction(action); return proto.toByteArray(); } }